Skip to content

Commit

Permalink
fix error in log phase (missing return from code)
Browse files Browse the repository at this point in the history
  • Loading branch information
fl0ppy-d1sk committed Feb 29, 2024
1 parent d7c073b commit de1ea28
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions discord/discord.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ function discord:log(bypass_use_discord)
if not hdr then
return self:ret(true, "can't create report timer : " .. err)
end
return self:ret(true, "scheduled timer")
end

-- luacheck: ignore 212
Expand Down
1 change: 1 addition & 0 deletions slack/slack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ function slack:log(bypass_use_slack)
if not hdr then
return self:ret(true, "can't create report timer : " .. err)
end
return self:ret(true, "scheduled timer")
end

-- luacheck: ignore 212
Expand Down
1 change: 1 addition & 0 deletions webhook/webhook.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ function webhook:log(bypass_use_webhook)
if not hdr then
return self:ret(true, "can't create report timer : " .. err)
end
return self:ret(true, "scheduled timer")
end

-- luacheck: ignore 212
Expand Down

0 comments on commit de1ea28

Please sign in to comment.