flow-emulator icon indicating copy to clipboard operation
flow-emulator copied to clipboard

display Cadence log when a transaction fails

Open kerrywei opened this issue 3 years ago • 1 comments

Issue To Be Solved

When I add log("my debug statement") in a transaction, the logging is not displayed in the Flow emulator when the transaction fails -- it s only displayed when the transaction passes. This causes some inconvenience for debugging a transaction.

(Optional): Suggest A Solution

Display the Cadence transaction log even if a transaction fails, to make debugging easier

kerrywei avatar Dec 20 '21 22:12 kerrywei

cc @sideninja

kerrywei avatar Dec 20 '21 22:12 kerrywei

This is on FVM side unfortunately.

bluesign avatar Sep 12 '22 10:09 bluesign