We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 871e788 commit aa9a495Copy full SHA for aa9a495
src/main/java/scorekeep/WebConfig.java
@@ -17,7 +17,10 @@ public Filter SimpleCORSFilter() {
17
18
static {
19
if ( System.getenv("NOTIFICATION_EMAIL") != null ){
20
- Sns.createSubscription();
+ try { Sns.createSubscription(); }
21
+ catch (Exception e ) {
22
+ logger.warn("Failed to create subscription for email "+ System.getenv("NOTIFICATION_EMAIL"));
23
+ }
24
}
25
26
0 commit comments