Bug Report: try/catch not working properly in scripts #3031
Labels
status: pending triage
The bug or PR has not been reviewed yet.
type: minor bug
Involves a minor bug or issue.
Issue Checklist
What platform are you using?
Itch.io (Downloadable Build) - Windows
If you are playing on a browser, which one are you using?
None
Version
0.4.1
Context (Provide images, videos, etc.)
while a
try
/catch
block in scripts do prevent errors, they do not work properly...if the expression fails:
try
block doesnt runcatch
block doesnt runa "wrapper" can be used to prevent this from happening, but its not possible to get the error
Steps to reproduce (or crash logs, errors, etc.)
in a script, run a function with traces around a
try
/catch
block that is guaranteed to run into an errorThe text was updated successfully, but these errors were encountered: