diff options
author | Saku Ytti <saku@ytti.fi> | 2014-07-24 22:36:40 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-07-24 22:36:40 +0300 |
commit | efb08893042d687cae48cd06a44db039fa9a951a (patch) | |
tree | ff2b4c9158caf775c913c3cddc80f48603d5609f /lib | |
parent | ef22db853ce1ac0aacb81c30c0d955ff811368cb (diff) |
return false when crash in model/node
Without this, config gets 'true' value, which is not string, and git
output will barf.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/node.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/node.rb b/lib/oxidized/node.rb index 188c267..6bc2b0f 100644 --- a/lib/oxidized/node.rb +++ b/lib/oxidized/node.rb @@ -71,6 +71,7 @@ module Oxidized fh.puts err.backtrace end Log.error '%s raised %s with msg "%s", %s saved' % [self.ip, err.class, err.message, file] + return false end end |