Commit 0b9f8ce3 authored by Lukáš Lalinský's avatar Lukáš Lalinský

Lower API error logging to warnings

parent 92b319a6
Pipeline #20397 passed with stages
in 3 minutes and 3 seconds
......@@ -62,7 +62,7 @@ class APIHandlerParams(object):
if check_demo_client_api_key(, application_apikey):
self.application_id = DEMO_APPLICATION_ID
logger.error("Invalid API key %s", application_apikey)
logger.warning("Invalid API key %s", application_apikey)
raise errors.InvalidAPIKeyError()
self.application_version = values.get('clientversion')
......@@ -158,7 +158,7 @@ class APIHandler(Handler):
logger.exception('Error while handling API request')
raise errors.InternalError()
except errors.WebServiceError as e:
logger.error("WS error: %s", e.message)
logger.warning("WS error: %s", e.message)
return self._error(e.code, e.message, params.format, status=e.status)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment