From 58c5310ae1406f1b6d7f1794d8574597c8698138 Mon Sep 17 00:00:00 2001 From: msil Date: Tue, 11 Sep 2018 17:30:28 +0100 Subject: fix reference to old 'file' variable (#1514) --- lib/oxidized/node.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/node.rb') 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 -- cgit v1.2.1