Closed amitu closed 9 years ago
Could you show me your code? I'll try it.
Consider line 451 onwards in importd/__init__.py
, you see we have imported views etc, but then on exception we eat the exception without reporting it.
What happened was I had some syntax error or import error in my views, and importd stopped importing the view, without giving me any error messages.
To debug this I had to manually modify importd/init.py and put logging statements on each import error there. Which was too verbose.
So I think the right balance is we should check if the file exists, if so then report whatever exception came, else be silent.
Closed in #58.
As of now if views.py has any error whatsoever, the view fails to import with no trace of error reporting.