Skip to content

Commit

Permalink
Include type when post-process fails so documentation can be linked i…
Browse files Browse the repository at this point in the history
…n exception
  • Loading branch information
Redned235 committed Sep 28, 2024
1 parent 910f4be commit 30647d6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public static <T> T newInstance(@Nullable Path sourceFile, Class<T> type, Config
} catch (Throwable t) {
throw new ParseException("Failed to post-process instance of class " + type.getName(), t)
.cause(ParseException.Cause.INTERNAL_ERROR)
.type(type)
.sourceFile(sourceFile);
}
}
Expand Down

0 comments on commit 30647d6

Please sign in to comment.