Software /
code /
prosody-modules
Diff
mod_sentry/mod_sentry.lua @ 4995:cb3de818ff55
mod_sentry: Log warning when server returns unexpected response
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 13 Jul 2022 11:14:04 +0100 |
parent | 4290:2c73544e33ea |
line wrap: on
line diff
--- a/mod_sentry/mod_sentry.lua Mon Aug 15 15:26:14 2022 +0200 +++ b/mod_sentry/mod_sentry.lua Wed Jul 13 11:14:04 2022 +0100 @@ -29,6 +29,8 @@ end; }; +local serialize = require "util.serialization".serialize; + local function sentry_error_handler(e) module:log("error", "Failed to submit event to sentry: %s", e); end