BAEL 6160 (#13519)
* [BAEL-4849] Article code * [BAEL-4968] Article code * [BAEL-4968] Article code * [BAEL-4968] Article code * [BAEL-4968] Remove extra comments * [BAEL-5258] Article Code * [BAEL-2765] PKCE Support for Secret Clients * [BAEL-5698] Article code * [BAEL-5698] Article code * [BAEL-5900] Initial commit * [BAEL-5974] Article Code * [BAEL-5974] Article Code * [BAEL-6160] Article code * [BAEL-6160] Tests --------- Co-authored-by: Philippe Sevestre <psevestre@gmail.com>
This commit is contained in:
@@ -21,7 +21,7 @@ public class SentryFilter implements Filter {
|
||||
try {
|
||||
chain.doFilter(request, response);
|
||||
int rc = ((HttpServletResponse) response).getStatus();
|
||||
if (rc/100 == 5) {
|
||||
if (rc / 100 == 5) {
|
||||
Sentry.captureMessage("Application error: code=" + rc, SentryLevel.ERROR);
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Sentry configuration file
|
||||
# put your DSN here
|
||||
dsn=https://xxxxxxxxxxxxxxxx@zzzzzzz.ingest.sentry.io/wwww
|
||||
# put your own DSN here. This one is NOT valid !!!
|
||||
dsn=https://c295098aadd04f719f1c9f50d801f93e@o75061.ingest.sentry.io/4504455033978880
|
||||
Reference in New Issue
Block a user