irccat 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,14 @@ module IrcCat
15
15
  host, port = @config['host'], @config['port']
16
16
  if handler = Rack::Handler.get(handler_name)
17
17
  Thread.new {
18
- handler.run(app, :Host => host, :Port => port)
18
+ begin
19
+ handler.run(app, :Host => host, :Port => port)
20
+ rescue Exception => e
21
+ puts e.message
22
+ puts e.backtace
23
+ sleep 1
24
+ retry
25
+ end
19
26
  }
20
27
  else
21
28
  raise "Could not find a valid Rack handler for #{handler_name.inspect}"
@@ -1,3 +1,3 @@
1
1
  module IrcCat #:nodoc:
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irccat
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 1
10
- version: 0.4.1
9
+ - 2
10
+ version: 0.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - people
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-24 00:00:00 -05:00
18
+ date: 2011-04-03 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency