Improved error message when connecting to datasource fails in the first place