* [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:
psevestre
2023-02-25 16:46:17 -03:00
committed by GitHub
parent a8a8b441f2
commit 3438aea2c4
15 changed files with 532 additions and 3 deletions

View File

@@ -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) {

View File

@@ -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