Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #6260: Cannot apply a Directive to all visible Rules #828

Conversation

VinceMacBuche
Copy link
Member

@VinceMacBuche
Copy link
Member Author

PR updated

@VinceMacBuche VinceMacBuche force-pushed the bug_6260/cannot_apply_a_directive_to_all_visible_rules branch from 9164ff5 to c28342b Compare February 12, 2015 16:29
@VinceMacBuche
Copy link
Member Author

PR updated

@VinceMacBuche VinceMacBuche force-pushed the bug_6260/cannot_apply_a_directive_to_all_visible_rules branch from c28342b to afc63e8 Compare February 12, 2015 16:30
@VinceMacBuche
Copy link
Member Author

PR updated

@VinceMacBuche VinceMacBuche force-pushed the bug_6260/cannot_apply_a_directive_to_all_visible_rules branch from afc63e8 to b1ddce6 Compare February 12, 2015 16:32
val msg = s"Error while trying to apply directive ${directiveApp.directive.id.value} on visible Rules"
logger.error(s"$msg, cause is: ${e.getMessage()}")
logger.debug(s"Error details:")
e.getStackTrace().foreach(st => logger.debug(st))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should juste use: logger.debug(s"Error details:", e) - it will duplicates the exception first line, but it's ok since the log will be in debug and so, when debugging it is easier to understand the whole exception.

@VinceMacBuche
Copy link
Member Author

PR updated

@VinceMacBuche VinceMacBuche force-pushed the bug_6260/cannot_apply_a_directive_to_all_visible_rules branch from b1ddce6 to 9d5db56 Compare February 12, 2015 16:54
fanf added a commit that referenced this pull request Feb 12, 2015
…rective_to_all_visible_rules

Fixes #6260: Cannot apply a Directive to all visible Rules
@fanf fanf merged commit 239d26a into Normation:branches/rudder/3.0 Feb 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants