Catch invalid syntax in config files

Hey,

I was having trouble setting up Sentry with a custom config file. Turned out the be a syntax error in my config file and Logan was not catching it while loading custom settings.