Mercurial > prosody-modules
diff mod_sentry/sentry.lib.lua @ 5008:bd63feda3704
Merge role-auth
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 22 Aug 2022 15:39:02 +0100 |
| parents | cb3de818ff55 |
| children |
line wrap: on
line diff
--- a/mod_sentry/sentry.lib.lua Tue Aug 16 13:10:39 2022 +0200 +++ b/mod_sentry/sentry.lib.lua Mon Aug 22 15:39:02 2022 +0100 @@ -221,6 +221,7 @@ local data = json.decode(response.body); return data; end + module:log("warn", "Unexpected response from server: %d: %s", response.code, response.body); return promise.reject(response); end
