improve startup error reporting