add exception handler for missing config