Skip to content

Commit c0779a5

Browse files
committed
Show the full stacktrace if BuildInformationProcessor fails
1 parent 70722f6 commit c0779a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/processor/java/org/truffleruby/processor/BuildInformationProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public synchronized void init(ProcessingEnvironment env) {
5959
revision = runCommand("git rev-parse --short=8 HEAD");
6060
compileDate = runCommand("git log -1 --date=short --pretty=format:%cd");
6161
} catch (Throwable e) {
62-
env.getMessager().printMessage(Kind.ERROR, e.getClass() + " " + e.getMessage());
62+
throw new Error(e);
6363
}
6464
}
6565

0 commit comments

Comments
 (0)