Correct message when conn.string is invalid

Was throwing NullPointerException