From 783519d5eb16ccde901ab4b9e880e490bad36be4 Mon Sep 17 00:00:00 2001 From: osmarks Date: Sun, 23 Aug 2020 21:26:46 +0100 Subject: [PATCH] log critical errors --- src/polychoron.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/polychoron.lua b/src/polychoron.lua index 905f14f..9730eca 100644 --- a/src/polychoron.lua +++ b/src/polychoron.lua @@ -168,7 +168,7 @@ local function tick(proc, event) proc.status = process.statuses.ERRORED proc.error = res if res ~= "Terminated" then -- programs terminating is normal, other errors not so much - BSOD(stringformat("Process %s has crashed!\nError: %s", tostring(proc.ID) or proc.name, tostring(res))) + BSOD(stringformat("Process %s has crashed!\nError: %s", proc.name or tostring(proc.ID), tostring(res))) end end else