Project

General

Profile

« Previous | Next » 

Revision 2531

sql.py: put_table(): No handler for exception: Print full exception instead of just first line to assist in debugging

View differences:

sql.py
1033 1033
        except DatabaseErrors, e:
1034 1034
            log_exc(e)
1035 1035
            
1036
            msg = 'No handler for exception: '+exc.str_(e, first_line_only=True)
1036
            msg = 'No handler for exception: '+exc.str_(e)
1037 1037
            warnings.warn(DbWarning(msg))
1038 1038
            log_debug(msg)
1039 1039
            remove_all_rows()

Also available in: Unified diff