Skip to content

Commit

Permalink
Исправлен пропуск вопроса перед отправкой в Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 committed Feb 12, 2025
1 parent a0234a5 commit f7f1fde
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
public class SentryScopeConfigurer {

private final ServerInfo serverInfo;
private final PermissionFilterBeforeSendCallback beforeSendCallback;

@Value("${sentry.dsn:}")
private final String dsn;
Expand All @@ -58,6 +59,7 @@ public void init() {
options.setRelease(serverInfo.getVersion());
options.setTag("server.version", serverInfo.getVersion());
options.setAttachServerName(false);
options.setBeforeSend(beforeSendCallback);
});
}

Expand Down

0 comments on commit f7f1fde

Please sign in to comment.