Skip to content

Commit 63cf503

Browse files
chore: updates comment
1 parent 9d9d537 commit 63cf503

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

api/src/main/java/com/javadiscord/jdi/core/api/utils/CacheUpdateHandler.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ public <T> void updateCache(T result) {
2323

2424
cache.getCacheForGuild(guildId).add(id, result);
2525
} catch (IllegalAccessException | NoSuchFieldException e) {
26-
// NoSuchFieldException means we don't want to cache result
27-
// Other exceptions should be caught in payload validation layer
26+
// NoSuchFieldException: don't cache result
2827
}
2928
}
3029

0 commit comments

Comments
 (0)