]> git.mxchange.org Git - fba.git/blobdiff - fba/federation/misskey.py
WIP:
[fba.git] / fba / federation / misskey.py
index 549ff17a2d950b90a5415075cc8469e6cbd31866..9e5c9af91be977846162f7e35690b94a46b00330 100644 (file)
@@ -180,9 +180,9 @@ def fetch_blocks(domain: str) -> dict:
                 # 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
 
@@ -237,9 +237,9 @@ def fetch_blocks(domain: str) -> dict:
                 # 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