If database query fails, do not send detailed info to the client