Skip to content

Commit 254896e

Browse files
GooolerCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent 70d0787 commit 254896e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private static Provisioner createWithRepositories(Consumer<RepositoryHandler> re
8282
return config.resolve();
8383
} catch (ResolveException e) {
8484
/* Provide Maven coordinates in exception message instead of static string 'detachedConfiguration' */
85-
throw Errors.asRuntime(e);
85+
throw new RuntimeException("Error resolving configuration: " + config.getDescription(), e);
8686
} finally {
8787
// delete the temp dir
8888
try {

0 commit comments

Comments
 (0)