Skip to content

Commit 5422270

Browse files
committed
exclude that error thorwed by QuickShop
1 parent 64f54fb commit 5422270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/maxgamer/quickshop/util/reporter/error/RollbarErrorReporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public PossiblyLevel checkWasCauseByQS(@Nullable Throwable throwable) {
268268
return PossiblyLevel.IMPOSSIBLE;
269269
}
270270

271-
if (stackTraceElements[0].getClassName().contains("org.maxgamer.quickshop")) {
271+
if (stackTraceElements[0].getClassName().contains("org.maxgamer.quickshop") && stackTraceElements[1].getClassName().contains("org.maxgamer.quickshop")) {
272272
return PossiblyLevel.CONFIRM;
273273
}
274274

0 commit comments

Comments
 (0)