dyoder-hive 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. data/lib/hive/scheduler.rb +5 -1
  2. metadata +1 -1
@@ -29,7 +29,11 @@ module Hive
29
29
  if self.respond_to?( method )
30
30
  Thread.new do
31
31
  logger.info "Running task #{method} ..."
32
- self.send( method )
32
+ begin
33
+ self.send( method )
34
+ rescue Exception => e
35
+ logger.error e
36
+ end
33
37
  logger.info "Task #{method} complete."
34
38
  end
35
39
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dyoder-hive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Yoder