From a1092b8130ed89f105b7fb9c64de48b5bd162216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20S=C3=B8rvig?= Date: Fri, 6 May 2022 15:55:29 +0200 Subject: qtloader.js: forward stdErr to console.warn() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ø Reviewed-by: David Skoland --- src/plugins/platforms/wasm/qtloader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/platforms/wasm/qtloader.js b/src/plugins/platforms/wasm/qtloader.js index 4f5bfcc2d8..4939e2658b 100644 --- a/src/plugins/platforms/wasm/qtloader.js +++ b/src/plugins/platforms/wasm/qtloader.js @@ -393,7 +393,7 @@ function QtLoader(config) return; if (config.stderrEnabled) - console.log(text) + console.warn(text) }; // Error handling: set status to "Exited", update crashed and -- cgit v1.2.3