Fix: Change level of logging from error to debug in log_and_return_response.