Skip to content

Commit 6c8440a

Browse files
Added missing ExceptionLogger
1 parent d1a2811 commit 6c8440a

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/net/javadiscord/javabot/systems/moderation

1 file changed

+1
-1
lines changed

src/main/java/net/javadiscord/javabot/systems/moderation/AutoMod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public boolean hasSuspiciousLink(@NotNull Message message) {
209209
return true;
210210
}
211211
} catch (URISyntaxException e) {
212-
log.error("Error while parsing URL: " + url, e);
212+
ExceptionLogger.capture(e, getClass().getSimpleName());
213213
}
214214
}
215215
}

0 commit comments

Comments
 (0)