Recipe tracebacks are currently verbose and unhelpful. We can improve these a lot
* If recipe's RunSteps is on stack, remove all stack frames above
* If the stack ends with <user_code> -> <engine_code>, remove the last frame, print the exception text
* If the stack ends with more than one engine_code block, ask the user to file a boundary check bug against the engine.
* Replace all paths with some better notation (i.e. PACKAGE[engine]/...)
* Remove all decorators and other meta shit from stack
* Preserve original stack trace in proto
* Add `$recipe_engine['full_frames'] = True` property to avoid this cleanup. Ex.
PACKAGE[user_repo]/recipes/foo.py:12 -- RunSteps(...)
api.wat
PACKAGE[user_repo]/recipe_modules/foo.py:12 -- api.foo(...)
api.wat
SomeException: Your pants are on fire.
Comment 1 by iannucci@chromium.org
, May 22 2017