Add server stack trace in case of error when checking if response is sucessfull