mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-04 03:38:26 +02:00
maked error.log relative
This commit is contained in:
parent
f29ace27a9
commit
8fdce2d4f5
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
def log_error(self, exception):
|
def log_error(self, exception):
|
||||||
with open("error.log", "a") as f: f.write(f"---\n{traceback.format_exc()}\n")
|
with open("./error.log", "a") as f: f.write(f"---\n{traceback.format_exc()}\n")
|
||||||
|
|
Loading…
Reference in a new issue