changes to error text and exception passing back to client