Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 committed Dec 26, 2023
1 parent 490c31e commit 2cba3fa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/
package com.github._1c_syntax.bsl.languageserver.aop.sentry;

import io.sentry.Scope;
import io.sentry.IScope;
import io.sentry.Sentry;
import io.sentry.protocol.User;
import jakarta.annotation.PostConstruct;
Expand All @@ -48,7 +48,7 @@ public class SentryScopeConfigurer {

@PostConstruct
public void init() {
Sentry.configureScope((Scope scope) -> {
Sentry.configureScope((IScope scope) -> {
var user = new User();
user.setId(UUID.randomUUID().toString());
scope.setUser(user);
Expand Down

0 comments on commit 2cba3fa

Please sign in to comment.