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 #4481: Rudder should not fail on absence of licence file for Windo... #444

Conversation

ncharles
Copy link
Member

...ws plugin

case e : SAXParseException => logger.error("Cannot parse license file"); throw new ParsingException("Unexpected issue (unvalid xml?) with the config file " )
case e : java.net.MalformedURLException => logger.error("Cannot read license file {}" + licenseFile); throw new FileNotFoundException("License file not found : " + licenseFile )
case e : java.io.FileNotFoundException =>
logger.debug("License file {} not found, this may be a problem if using the Windows Plugin", licenseFile)
Copy link
Member

Choose a reason for hiding this comment

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

Could you please use s"..... ${licenseFile}...."
It's easier to refacter logger that way (nothing slf4j specific)

Copy link
Member Author

Choose a reason for hiding this comment

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

ha, didn't realize 2.6 was using scala 2.10.
fixing it

fanf added a commit that referenced this pull request Feb 18, 2014
…se_file

Fixes #4481: Rudder should not fail on absence of licence file for Windo...
@fanf fanf merged commit cf515fa into Normation:branches/rudder/2.6 Feb 18, 2014
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