changeset 4288 | b7045af1e5b7 |
parent 4287 | 2ae71126e379 |
child 4289 | e67081d1f835 |
--- a/mod_sentry/sentry.lib.lua Tue Dec 08 15:34:53 2020 +0000 +++ b/mod_sentry/sentry.lib.lua Wed Dec 09 12:21:17 2020 +0000 @@ -112,7 +112,7 @@ end function sentry_event_methods:add_exception(e) - if errors.is_error(e) then + if errors.is_err(e) then e = error_to_sentry_exception(e); elseif type(e) ~= "table" or not (e.type and e.value) then e = error_to_sentry_exception(errors.coerce(nil, e));