Skip to content

Commit 506baad

Browse files
Merge branch 'webb/e2e_tests_with_tomcat' of github.com:getsentry/sentry-java into webb/e2e_tests_with_tomcat
2 parents e1edcf2 + dcc9cc8 commit 506baad

File tree

1 file changed

+2
-2
lines changed
  • sentry-samples/sentry-samples-spring-jakarta/src/main/java/io/sentry/samples/spring/jakarta

1 file changed

+2
-2
lines changed

sentry-samples/sentry-samples-spring-jakarta/src/main/java/io/sentry/samples/spring/jakarta/Main.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import java.io.File;
44
import java.io.IOException;
5-
65
import org.apache.catalina.LifecycleException;
76
import org.apache.catalina.startup.Tomcat;
87

@@ -13,7 +12,8 @@ public static void main(String[] args) throws LifecycleException, IOException {
1312
if (!webappsDirectory.exists()) {
1413
boolean didCreateDirectories = webappsDirectory.mkdirs();
1514
if (!didCreateDirectories) {
16-
throw new RuntimeException("Failed to create directory required by Tomcat: " + webappsDirectory.getAbsolutePath());
15+
throw new RuntimeException(
16+
"Failed to create directory required by Tomcat: " + webappsDirectory.getAbsolutePath());
1717
}
1818
}
1919

0 commit comments

Comments
 (0)