fix #5774 configuring webapp contexts to re-throw errors on startup