Add exception handlers for reading settings