From 22abd302097570f4fd19f8db7ea8e2660b98350e Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Tue, 23 May 2023 20:11:28 -0700 Subject: [PATCH] Improve error log on webassembly --- src/lime/utils/Log.hx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lime/utils/Log.hx b/src/lime/utils/Log.hx index 18d92b037..c2a7685c0 100644 --- a/src/lime/utils/Log.hx +++ b/src/lime/utils/Log.hx @@ -31,6 +31,9 @@ class Log if (throwErrors) { + #if webassembly + println(message); + #end throw message; } else