improved error message if configuration could not be loaded