Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MISC: Add more error info to error dialog and tail log #1813

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

catloversg
Copy link
Contributor

A player suggested this change on Discord. When a script crashes, we only print Script crashed due to an error. to the tail log. The error detail is only shown in the error dialog. This PR made these changes:

  • Show error detail in the tail log.
  • Include error.cause and error.cause.stack in error detail.

Before:
before

After:
after

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant