about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-11-10 07:24:46 -0800
committerKartik K. Agaram <vc@akkartik.com>2023-11-10 07:24:46 -0800
commit8b70258978aca917f3979ceba9030f1e4b84b954 (patch)
treed3318079b0ed1f99ec6decccdb6085cddd310f12
parentaa9a0b0b15cbd0ec2457082ed334aa6d8fd99699 (diff)
downloadview.love-8b70258978aca917f3979ceba9030f1e4b84b954.tar.gz
remove a no-op regex munging on callstacks
Port of a fix "upstream": commit b38f172ceb in template-live-editor.
-rw-r--r--app.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.lua b/app.lua
index 841c632..8068e3f 100644
--- a/app.lua
+++ b/app.lua
@@ -43,7 +43,7 @@ function love.run()
 end
 
 function handle_error(err)
-  Error_message = debug.traceback('Error: ' .. tostring(err), --[[stack frame]]2):gsub('\n[^\n]+$', '')
+  Error_message = debug.traceback('Error: ' .. tostring(err), --[[stack frame]]2)
   print(Error_message)
   if Current_app == 'run' then
     Settings.current_app = 'source'