Add possibility to log error respons and throwable