qtloader.js: forward stdErr to console.warn()
This is the correct mapping, and as a bonus the Chrome browser provides a stack trace on all output from console.warn(). Change-Id: I4a1b95475679d6b54a0690f51c23683514fe7985 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: David Skoland <david.skoland@qt.io>
This commit is contained in:
parent
40e3c1c2b1
commit
a1092b8130
@ -393,7 +393,7 @@ function QtLoader(config)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (config.stderrEnabled)
|
if (config.stderrEnabled)
|
||||||
console.log(text)
|
console.warn(text)
|
||||||
};
|
};
|
||||||
|
|
||||||
// Error handling: set status to "Exited", update crashed and
|
// Error handling: set status to "Exited", update crashed and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user