Skip to content
Snippets Groups Projects
Verified Commit bad031e3 authored by Sander van den Oever's avatar Sander van den Oever :no_entry_sign:
Browse files

Add Sentry dependency in pom.xml

Because apparently that's necessary for CI?
parent 4c399758
No related branches found
No related tags found
1 merge request!183Use Real IPs instead of Proxy IP for Sentry (#250)
......@@ -95,7 +95,7 @@ dependencies {
compile('javax.xml.bind:jaxb-api:2.3.0')
compile('javax.activation:activation:1.1')
compile('org.glassfish.jaxb:jaxb-runtime:2.3.0')
compile 'io.sentry:sentry-spring:1.7.27'
compile('io.sentry:sentry-spring:1.7.27')
// Assets
compile 'org.webjars:jquery:3.4.1'
......
......@@ -151,6 +151,11 @@
<artifactId>spring-boot-starter-data-redis</artifactId>
<version>1.5.15.RELEASE</version>
</dependency>
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-spring-boot-starter</artifactId>
<version>1.7.27</version>
</dependency>
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-springsecurity4</artifactId>
......
......@@ -24,6 +24,8 @@ import java.util.Locale;
import javax.annotation.PostConstruct;
import io.sentry.spring.SentryExceptionResolver;
import io.sentry.spring.SentryServletContextInitializer;
import nl.martijndwars.webpush.PushService;
import nl.martijndwars.webpush.Utils;
import nl.tudelft.ewi.queue.dialect.AuthenticatedDialect;
......@@ -95,7 +97,7 @@ public class QueueApplication extends
*/
@Bean
public HandlerExceptionResolver sentryExceptionResolver() {
return new io.sentry.spring.SentryExceptionResolver();
return new SentryExceptionResolver();
}
/**
......@@ -106,7 +108,7 @@ public class QueueApplication extends
*/
@Bean
public ServletContextInitializer sentryServletContextInitializer() {
return new io.sentry.spring.SentryServletContextInitializer();
return new SentryServletContextInitializer();
}
@PostConstruct
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment