Description

Error responses error message to client with given message. If status is 500, also it prints error to log.