mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-25 01:16:26 -05:00
Avoid rebind of exception reference
This commit is contained in:
parent
803b548951
commit
ff3a72209e
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ class Identity:
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
RNS.log(f"Error while serializing and writing known destinations: {e}", RNS.LOG_ERROR)
|
RNS.log(f"Error while serializing and writing known destinations: {e}", RNS.LOG_ERROR)
|
||||||
try: os.unlink(temp_file)
|
try: os.unlink(temp_file)
|
||||||
except Exception as e: RNS.log(f"Could not clean up temporary file {temp_file}: {e}", RNS.LOG_WARNING)
|
except Exception as exc: RNS.log(f"Could not clean up temporary file {temp_file}: {exc}", RNS.LOG_WARNING)
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
RNS.log(f"Saved known destinations to storage in {RNS.prettyshorttime(time.time()-save_start)}", RNS.LOG_DEBUG) if RNS.sl(RNS.LOG_DEBUG) else None
|
RNS.log(f"Saved known destinations to storage in {RNS.prettyshorttime(time.time()-save_start)}", RNS.LOG_DEBUG) if RNS.sl(RNS.LOG_DEBUG) else None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue