Lowering log level to DEBUG for internal SDK call exceptions.
The exception is re-raised anyway, so it may be handled by the caller in a way that doesn't warrant a warning/error at all.
This commit is contained in:
parent
fdb9970792
commit
91660fefe4
@ -41,8 +41,8 @@ class FlaskInternalApi(pillarsdk.Api):
|
||||
try:
|
||||
content = self.handle_response(response, response.data)
|
||||
except:
|
||||
log.warning("%s: Response[%s]: %s", url, response.status_code,
|
||||
response.data, exc_info=True)
|
||||
log.debug("%s: Response[%s]: %s", url, response.status_code,
|
||||
response.data, exc_info=True)
|
||||
raise
|
||||
|
||||
return content
|
||||
|
Loading…
x
Reference in New Issue
Block a user