Skip to content

Commit

Permalink
Merge pull request #839 from AntlerForce/master
Browse files Browse the repository at this point in the history
Add event report to Download Handler Listener Error
  • Loading branch information
AntlerForce authored Dec 2, 2024
2 parents b3d66d5 + 3c15dd4 commit 905101d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LuaMenu/widgets/api_download_handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ local function CallListeners(event, ...)
local listener = eventListeners[i]
args = {...}
xpcall(function() listener(listener, unpack(args)) end,
function(err) Spring.Echo("Download Handler Listener Error", err) end )
function(err) Spring.Echo("Download Handler Listener Error", err, event) end )
end
return true
end
Expand Down

0 comments on commit 905101d

Please sign in to comment.