comparison mod_sentry/mod_sentry.lua @ 6441:2e87110475ec

mod_sentry: Remove unused import
author Link Mauve <linkmauve@linkmauve.fr>
date Wed, 11 Mar 2026 00:33:42 +0100
parents cb3de818ff55
children
comparison
equal deleted inserted replaced
6440:eb0ab7382a0d 6441:2e87110475ec
26 end; 26 end;
27 message_pattern = function (pattern, _, _, message) 27 message_pattern = function (pattern, _, _, message)
28 return not not message:match(pattern); 28 return not not message:match(pattern);
29 end; 29 end;
30 }; 30 };
31
32 local serialize = require "util.serialization".serialize;
33 31
34 local function sentry_error_handler(e) 32 local function sentry_error_handler(e)
35 module:log("error", "Failed to submit event to sentry: %s", e); 33 module:log("error", "Failed to submit event to sentry: %s", e);
36 end 34 end
37 35