diff options
-rw-r--r-- | modules/tracking.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/tracking.py b/modules/tracking.py index 7cf601f..478ae9d 100644 --- a/modules/tracking.py +++ b/modules/tracking.py @@ -592,6 +592,10 @@ url [TRACKINGNO] - Lists URLs for matches to the corresponding website''') for row in consignments: self.update_consignment(session, row) session.commit() + except Exception: + import traceback + print 'Exception as %s' % datetime.datetime.now() + traceback.print_exc() finally: session.close() |