Don't show stack trace in window alert (#71)
This commit is contained in:
parent
b9d2e2f05c
commit
b13adbbbc5
@ -358,7 +358,9 @@ class State(Base, ABC):
|
||||
except:
|
||||
error = traceback.format_exc()
|
||||
print(error)
|
||||
return StateUpdate(events=[window_alert(error)])
|
||||
return StateUpdate(
|
||||
events=[window_alert("An error occurred. See logs for details.")]
|
||||
)
|
||||
|
||||
# Fix the returned events.
|
||||
events = utils.fix_events(events, event.token)
|
||||
|
Loading…
Reference in New Issue
Block a user