Closed vincent-163 closed 6 months ago
This is actually an upstream issue in IPython: https://github.com/ipython/ipython/issues/12971
I put a comment on that thread, it is indeed a magic implementation issue and not a notebook or papermill specific control point.
🐛 Bug
Running a new notebook with two cells via papermill: (assuming
results.json
does not exist)Gives
for the second cell. The first cell's error is silently ignored without any warnings, and the only clue is that the cell's time is not reported as well.
If
%%time
is removed from the first cell, the error is reported properly and the execution is interrupted at the first cell: