Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed May 12, 2024
1 parent 41392da commit 3d12143
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void scan(final Map<Path, Type> newScanTargets, Filter filter) throws IOE
ClassNode node = ASMUtils.bytesToClassNode(Utils.readAllBytes(stream));
Type type = Type.getObjectType(node.name);
if (!type.equals(newScanTargets.get(path))) {
throw new IllegalStateException("Expected path to match class name");
throw new IllegalStateException("Expected path to match class name: " + path + " != " + type.getInternalName());
}
references.get(type).scan(node, filter);
}
Expand Down

0 comments on commit 3d12143

Please sign in to comment.