updated exception handling
This commit is contained in:
@@ -156,9 +156,9 @@ with S.begin() as sess:
|
||||
except KeyboardInterrupt as e:
|
||||
savepoint.rollback()
|
||||
break
|
||||
except Exception as e:
|
||||
except IntegrityError as e:
|
||||
savepoint.rollback()
|
||||
logging.error(e)
|
||||
break
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user