Skip to content

Commit

Permalink
Исправление инициализации бина при неактивном Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 committed Jul 14, 2022
1 parent 7142edb commit a4722ec
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import lombok.RequiredArgsConstructor;
import org.eclipse.lsp4j.ServerInfo;
import org.jetbrains.annotations.NotNull;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Component;

Expand All @@ -40,6 +41,7 @@
*/
@Component
@RequiredArgsConstructor
@ConditionalOnBean(name = "sentryHub")
@DependsOn("sentryHub")
public class SentryScopeConfigurer {

Expand Down

0 comments on commit a4722ec

Please sign in to comment.