Skip to content

Commit

Permalink
Fix logging configuration errors (#1922)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask authored Oct 21, 2021
1 parent 15a0321 commit 446b687
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,11 @@ static Configuration getConfigurationFromConfigFile(Path configPath, boolean str
}
} catch (JsonMappingException | JsonParseException ex) {
throw new FriendlyException(
"Error parsing configuration from file: " + configPath.toAbsolutePath(),
"Error parsing configuration from file: "
+ configPath.toAbsolutePath()
+ System.lineSeparator()
+ System.lineSeparator()
+ ex.getMessage(),
"Learn more about configuration options here: https://go.microsoft.com/fwlink/?linkid=2153358",
ex);
} catch (Exception e) {
Expand Down

0 comments on commit 446b687

Please sign in to comment.