Commit b2008aac authored by Harald Sitter's avatar Harald Sitter 🌹
Browse files

be a bit more verbose on protocol exceptions

the whatstring isn't actually entirely sufficient as it turns out. it is
derived from errorstring but that seems to sometimes not contain any
useful information as to what the actual protocol problem was. so, log
code, text and string when throwing a protocol exception
parent 262389b1
......@@ -76,7 +76,7 @@ ProtocolException::ProtocolException(const APIJob *job)
: Exception()
, m_job(job)
{
qCWarning(BUGZILLA_LOG) << "ProtocolException:" << whatString();
qCWarning(BUGZILLA_LOG) << "ProtocolException:" << whatString() << job->error() << job->errorText() << job->errorString();
}
ProtocolException::ProtocolException(const ProtocolException &other)
......
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