bin/wackamole in wackamole-0.0.4 vs bin/wackamole in wackamole-0.0.5

- old
+ new

@@ -40,10 +40,15 @@ # Clearing args for franky! ARGV.clear require 'sinatra' require File.join(File.dirname(__FILE__), %w[.. lib app.rb]) - Sinatra::Application.run! :port => default_port, :environment => params['environment'].value + begin + Sinatra::Application.run! :port => default_port, :environment => params['environment'].value + rescue => boom + $stderr.puts "Oh snap! - Wackamole crapped out -- #{boom}" + boom.backtrace.each { |l| $stderr.puts l } + end end # default wackamole port def default_port() 7777; end \ No newline at end of file