From 20c3eac8aeb460c0ed8ecee6a73c2171e60f82eb Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Fri, 11 Jul 2014 18:42:22 +0300 Subject: Bit friendlier error message on invalid config Closes #20 [ytti@ytti.fi ~/tmp/oxidized]% oxidized Error loading config: (): mapping values are not s context at line 15 column 7 [ytti@ytti.fi ~/tmp/oxidized]% --- bin/oxidized | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/oxidized') diff --git a/bin/oxidized b/bin/oxidized index f2fb9ff..e5d9bec 100755 --- a/bin/oxidized +++ b/bin/oxidized @@ -1,5 +1,6 @@ #!/usr/bin/env ruby + # FIX ME, killing oxidized needs -9 trap("INT") { exit } # sinatra will otherwise steal this from us -- cgit v1.2.1