You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If a program runs into an exception of any kind, any logs that were to have happened during the execution of the running Cadence will not be shown to the user.
To Reproduce
Steps to reproduce the behavior:
Go to Flow playground
Run a script that looks like the following: pub fun main(): Int { log("This log should print"); panic("But it did not"); }
Only 'But it did not' will be output to the user.
Expected behavior
Both "This log should print" and "But it did not" should be printed, with "But it did not" being red to indicate it is from STDERR.
The text was updated successfully, but these errors were encountered:
Describe the bug
If a program runs into an exception of any kind, any logs that were to have happened during the execution of the running Cadence will not be shown to the user.
To Reproduce
Steps to reproduce the behavior:
pub fun main(): Int { log("This log should print"); panic("But it did not"); }
Only 'But it did not' will be output to the user.
Expected behavior
Both "This log should print" and "But it did not" should be printed, with "But it did not" being red to indicate it is from STDERR.
The text was updated successfully, but these errors were encountered: