Merge remote-tracking branch 'origin/tests-less-verbose'

* origin/tests-less-verbose:
  api/admin: do not log expected full tracebacks with ERROR level
This commit is contained in:
Marek Marczykowski-Górecki 2018-03-29 20:49:28 +02:00
commit 5e6c94bc35
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()