Report sql errors to client