summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-03-30 21:39:31 +0000
committerubq323 <ubq323@ubq323.website>2024-03-30 21:39:31 +0000
commitc15d763a84dd667118d0958c95441403f5745ba8 (patch)
treebf9867ffb9881d5c0c215f41764c1ace2198db5f
parentec29005820736b2447ed59e3f6751e5096d03f4e (diff)
listener
-rw-r--r--listener.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/listener.lua b/listener.lua
index c47cd9a..66d7f21 100644
--- a/listener.lua
+++ b/listener.lua
@@ -16,5 +16,8 @@ function main()
end
end
-pcall(main)
+local ok, err = pcall(main)
+if not ok then
+ print(err)
+end
print("all done")