fastai / nbdev

Create delightful software with Jupyter Notebooks
https://nbdev.fast.ai/
Apache License 2.0
4.8k stars 484 forks source link

nbdev_docs doesn't provide location of error #1417

Open andruum opened 3 weeks ago

andruum commented 3 weeks ago

Hi, I noticed that nbdev_docs doesn't provide location where the error occured, if there is no heading in the ipynb file.

With heading:

Exception: Error in notebook: utils_files in cell 3 :
r = 1/0
import sys

Without heading:

Exception: Error in cell 2 :
r = 1/0
import sys

Is it possible somehow fix it and add file name into the Exception info?