Each misconfiguration should be covered by an exception, and point to the line which is wrong. Leaving uncaught exceptions is OK.