Skip to content
Commit e244ce01 authored by Igor Kushnir's avatar Igor Kushnir
Browse files

IdentityRuntime: expand the process error warning

I have encountered the following warning in KDevelop's output:
kdevplatform.shell: process finished with error: QProcess::Crashed

There is no way to tell which process crashed, especially if the issue
cannot be reproduced. Print the error string and the command line of the
process to specify where the error comes from. For example:
kdevplatform.shell: process finished with error: QProcess::Crashed "Process crashed", the command line: "make -j5"

Introduce a helper function catchErrors(). Cannot simply delegate the
KProcess* overload to the QProcess* one, because KProcess::start() hides
non-virtual QProcess::start().
parent b2b336ab
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