summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsil <michael.silas@sohonet.com>2018-09-11 17:30:28 +0100
committerytti <saku@ytti.fi>2018-09-11 19:30:28 +0300
commit58c5310ae1406f1b6d7f1794d8574597c8698138 (patch)
tree5676619332ae793cbee7bbb867033d3668484bb4
parent921a4a201b6ec12864a24310d669e07ce0a57c4e (diff)
fix reference to old 'file' variable (#1514)
-rw-r--r--lib/oxidized/node.rb2
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