fixing catch of config_exception