smartguard 0.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -65,6 +65,10 @@ def start_application(application, opts, &block)
65
65
  end
66
66
  rescue => e
67
67
  Smartguard::Logging.logger.error "Exception catched during service startup: #{e}"
68
+ e.backtrace.each do |line|
69
+ Smartguard::Logging.logger.error line
70
+ end
71
+
68
72
  exit 1
69
73
  end
70
74
 
@@ -118,7 +118,7 @@ module Smartguard
118
118
 
119
119
  if !service.active?
120
120
  if !service.start && block_given?
121
- Logging.logger.debug "Startup of #{s} failed: running safety block"
121
+ Logging.logger.debug "Startup of #{key} failed: running safety block"
122
122
  yield
123
123
  return false
124
124
  end
@@ -14,7 +14,7 @@ module Smartguard
14
14
  end
15
15
 
16
16
  Logging.logger.info "Starting smartware"
17
- if !run(@path, {}, "bundle", "exec", "smartware", "--config-file=#{config_file}", *opts)
17
+ if !run(@path, {}, "bundle", "exec", "smartware", "--config=#{config_file}", *opts)
18
18
  return false
19
19
  end
20
20
 
@@ -1,3 +1,3 @@
1
1
  module Smartguard
2
- VERSION = "0.3"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartguard
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: