Commit 5f532ec
authored
Conditionally add execution_time to error output
This change avoids a KeyError if the wrapped func at L39 throws an exception caught at L43. In this case the `get_ava_log_entry` and the `ava_log_entry` only contains a value for the "error" key. Proposal to fix issue #1411 parent 80a0a54 commit 5f532ec
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments