-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(FACT-3427) Improve custom fact logging
Prior to this commit, the define_resolution method was incorrectly passing two arguments to Facter::Log#log_exception when raising, causing and ArgumentError. This commit updates define_resolution's error handling to provide more information including the fact name and backtrace information (if available). Additionally, this commit enables a test that was pending.
- Loading branch information
1 parent
5f615d8
commit 666c50f
Showing
2 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters