api/admin: do not log expected full tracebacks with ERROR level

Make tests output cleaner.
This commit is contained in:
Marek Marczykowski-Górecki 2018-03-23 02:26:05 +01:00
parent 3065e0de94
commit bb7bb25d89
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -283,8 +283,9 @@ class QubesDaemonProtocol(asyncio.Protocol):
'src=%r meth=%r dest=%r arg=%r len(untrusted_payload)=%d')
if self.debug:
self.app.log.exception(msg,
err, src, meth, dest, arg, len(untrusted_payload))
self.app.log.debug(msg,
err, src, meth, dest, arg, len(untrusted_payload),
exc_info=1)
if self.transport is not None:
self.send_exception(err)
self.transport.write_eof()