mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-29 12:03:52 -06:00
Log process exceptions using ASCII mode to avoid issues with string concatenation.
This commit is contained in:
parent
4a6426d3e7
commit
3f16a0c52c
@ -63,7 +63,7 @@ else:
|
||||
def _log_exception():
|
||||
type_, value_, traceback_ = info = sys.exc_info()
|
||||
|
||||
with open(_log_file, 'ab') as fp:
|
||||
with open(_log_file, 'a') as fp:
|
||||
from traceback import format_exception
|
||||
res = ''.join(
|
||||
format_exception(type_, value_, traceback_)
|
||||
|
Loading…
Reference in New Issue
Block a user