Better error handling for settings_local import.