Skip to content

Commit

Permalink
Log exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Dec 1, 2016
1 parent 4691491 commit d89a9bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/NtpClient.rb
Expand Up @@ -305,8 +305,8 @@ def read_ntp_conf
begin
@ntp_conf = CFA::NtpConf.new
@ntp_conf.load
rescue
log.error("Failed to read #{NTP_FILE}")
rescue StandardError => e
log.error("Failed to read #{NTP_FILE}: #{e.message}")
return false
end

Expand Down

0 comments on commit d89a9bd

Please sign in to comment.