It also could happen when you have try catch wrapped in your startup and catch block swallows the real error.