Project

General

Profile

« Previous | Next » 

Revision 4457

sql_io.py: cleanup_table(): NullValueException: Log the caught exception so it's clear that the update is being retried

View differences:

lib/sql_io.py
34 34
            sql.update(db, table, changes, in_place=True, recover=True)
35 35
            break # successful
36 36
        except sql.NullValueException, e:
37
            db.log_debug('Caught exception: '+exc.str_(e))
37 38
            col, = e.cols
38 39
            sql.drop_not_null(db, col)
39 40

  

Also available in: Unified diff