diff options
author | msil <michael.silas@sohonet.com> | 2018-09-11 17:30:28 +0100 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2018-09-11 19:30:28 +0300 |
commit | 58c5310ae1406f1b6d7f1794d8574597c8698138 (patch) | |
tree | 5676619332ae793cbee7bbb867033d3668484bb4 /lib/oxidized/node.rb | |
parent | 921a4a201b6ec12864a24310d669e07ce0a57c4e (diff) |
fix reference to old 'file' variable (#1514)
Diffstat (limited to 'lib/oxidized/node.rb')
-rw-r--r-- | lib/oxidized/node.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/node.rb b/lib/oxidized/node.rb index e012b23..3775fa9 100644 --- a/lib/oxidized/node.rb +++ b/lib/oxidized/node.rb @@ -84,7 +84,7 @@ module Oxidized fh.puts '-' * 50 fh.puts err.backtrace end - Oxidized.logger.error '%s raised %s with msg "%s", %s saved' % [self.ip, err.class, err.message, file] + Oxidized.logger.error '%s raised %s with msg "%s", %s saved' % [self.ip, err.class, err.message, crashfile] return false end end |