db connection error reporting