In motoko, how to cancel the long error prompt when assert and Debug.trap report errors? I remember that the previous version only prompted the assert line number and Debug.trap content. Such a short prompt is more friendly. At present, this is too long. If the user panics,
This is on the frontend to handle appropriately. Ideally, canisters are coded such that they return useful error messages
I think the complaint is about the boilerplate “Consider gracefully…” which I also find annoying and rather pointless.
1 Like