Update main.py

This commit is contained in:
SiYuan 2024-01-18 10:25:07 +08:00 committed by GitHub
parent abf3d4540f
commit 5b73d0bf5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,4 +95,4 @@ if __name__ == '__main__':
sys.exit(app.exec_())
except Exception as e:
print(f"Exception: {e}")
logger.error(traceback.print_exc())
logger.error(traceback.format_exc())