Changeset 4277 for waeup/branches


Ignore:
Timestamp:
13 Jun 2009, 14:14:38 (15 years ago)
Author:
uli
Message:

Be more verbose if errors occur.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/datacenter.py

    r4246 r4277  
    308308            return
    309309        except:
    310             self.flash('Import failed: %s' % sys.exc_info()[1])
     310            self.flash('Import failed: %s %s' % (sys.exc_info()[0],
     311                                                 sys.exc_info()[1]))
    311312            return
    312313        self.flash('Successfully imported: %s' % os.path.basename(csvfile))
Note: See TracChangeset for help on using the changeset viewer.