# DEBUG: print("DEBUG: API is no more returning new instances, aborting loop!")
break
- except BaseException as exc:
- print("WARNING: Caught error, exiting loop:", domain, exc)
- instances.update_last_error(domain, exc)
+ except BaseException as exception:
+ print("WARNING: Caught error, exiting loop:", domain, exception)
+ instances.update_last_error(domain, exception)
offset = 0
break
# DEBUG: print("DEBUG: API is no more returning new instances, aborting loop!")
break
- except BaseException as exc:
- print("ERROR: Exception during POST:", domain, exc)
- instances.update_last_error(domain, exc)
+ except BaseException as exception:
+ print("ERROR: Exception during POST:", domain, exception)
+ instances.update_last_error(domain, exception)
offset = 0
break