Open joellabes opened 1 year ago
@joellabes I agree this would be nicer without the full stacktrace!
I also share your instinct that this is because it's a CompilationError
, and so we're appending the macro traceback. We should look into seeing if we can have different behavior for ContractError
in particular.
Discussed during estimation meeting - May be worth investigating why some compilation errors include a traceback, where others don't.
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.
Don't leave me
Is this your first time submitting a feature request?
Describe the feature
When a model contract fails, there's a lot of guff that gets in the way of seeing the actual issue, and comes dangerously close to spilling out of most consoles (Cloud IDE shown here, but I run my VS Code console smaller than this):
It would be better if instead it was like this:
Describe alternatives you've considered
No response
Who will this benefit?
People who like concise and usable error messages. I guess this is happening since it's a compiler error, and normally the macros that got us to a compilation error are highly relevant. But in this case they're 100% internal macros so it's not useful.
Are you interested in contributing this feature?
No response
Anything else?
No response