Exception class not scoped properly
Display information about both errors
Auth and DB connection config fix

unbracketed if statement not grouping properly
Old config VAR