mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 11:18:26 +02:00
4 lines
132 B
Python
4 lines
132 B
Python
import traceback
|
|
|
|
def log_error(self, exception):
|
|
with open("error.log", "a") as f: f.write(f"---\n{traceback.format_exc()}\n")
|