Skip to content

Commit

Permalink
Catch all exceptions in timer requests
Browse files Browse the repository at this point in the history
This should eliminate the issues with loss of screen control,
but I'm not going to close the issue until it's tested.
  • Loading branch information
asquared committed Dec 18, 2015
1 parent 704818b commit f344578
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/bandshell-timer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@ def linestamp
puts linestamp + "Bandshell is not responding."
rescue SocketError
puts linestamp + "Could not connect to given URL."
rescue => e
puts linestamp + "Unknown error occurred."
puts e.inspect
puts e.backtrace
end
end

0 comments on commit f344578

Please sign in to comment.