blob: 3f4f13a53f6c2da001ba6191c513c05cd7495edd [file] [log] [blame]
[
{
"cmd": [],
"name": "RECIPE CRASH (Uncaught exception)",
"~followup_annotations": [
"@@@STEP_EXCEPTION@@@",
"The recipe has crashed at point 'Uncaught exception'!",
"",
" + Exception Group Traceback (most recent call last):",
" | File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/engine.py\", line 597, in run_steps",
" | raw_result = recipe_obj.run_steps(api, engine)",
" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",
" | File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/recipe_deps.py\", line 1012, in run_steps",
" | recipe_result = invoke_with_properties(",
" | ^^^^^^^^^^^^^^^^^^^^^^^",
" | File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/property_invoker.py\", line 88, in invoke_with_properties",
" | return _invoke_with_properties(callable_obj, all_props, environ, prop_defs,",
" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",
" | File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/property_invoker.py\", line 52, in _invoke_with_properties",
" | return callable_obj(*props, **additional_args)",
" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",
" | File \"RECIPE_REPO[recipe_engine]/recipes/engine_tests/expect_exceptions.py\", line 24, in RunSteps",
" | my_function()",
" | File \"RECIPE_REPO[recipe_engine]/recipes/engine_tests/expect_exceptions.py\", line 20, in my_function",
" | raise ExceptionGroup('multiple exceptions', exceptions)",
" | ExceptionGroup: multiple exceptions (2 sub-exceptions)",
" +-+---------------- 1 ----------------",
" | Traceback (most recent call last):",
" | File \"RECIPE_REPO[recipe_engine]/recipes/engine_tests/expect_exceptions.py\", line 15, in my_function",
" | raise exc_type('BAD DOGE')",
" | ValueError: BAD DOGE",
" +---------------- 2 ----------------",
" | Traceback (most recent call last):",
" | File \"RECIPE_REPO[recipe_engine]/recipes/engine_tests/expect_exceptions.py\", line 15, in my_function",
" | raise exc_type('BAD DOGE')",
" | TypeError: BAD DOGE",
" +------------------------------------"
]
},
{
"failure": {
"humanReason": "Uncaught Exception: ExceptionGroup('multiple exceptions', '[ValueError('BAD DOGE'), TypeError('BAD DOGE')]')"
},
"name": "$result"
}
]