Skip to content

Commit

Permalink
Add Class info to failure exception (#3746)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrvincent authored and scordio committed Jan 17, 2025
1 parent 79b87f0 commit e20e40d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static ClassLoadingStrategyPair classLoadingStrategy(Class<?> assertClass) {
throw new IllegalStateException("Could not access package of " + assertClass, e);
}
} else {
throw new IllegalStateException("No code generation strategy available");
throw new IllegalStateException("No code generation strategy available for " + assertClass);
}
}

Expand Down

0 comments on commit e20e40d

Please sign in to comment.