svutil 0.0.9 → 0.0.10

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.
data/lib/svutil.rb CHANGED
@@ -6,5 +6,5 @@ require 'svutil/log'
6
6
  require 'svutil/process_manager'
7
7
 
8
8
  module SVUtil
9
- VERSION = '0.0.9'
9
+ VERSION = '0.0.10'
10
10
  end
@@ -19,12 +19,13 @@ module SVUtil
19
19
  begin
20
20
  @server_instance.run
21
21
  rescue
22
- STDERR.puts $!
23
- STDERR.puts $!.backtrace if SVUtil::config.trace
24
- ensure
25
- shutdown("Process Completed")
22
+ Log.error $!
23
+ Log.error $!.backtrace if SVUtil::config.trace
24
+ shutdown("Process Completed with Error")
26
25
  exit 1
27
26
  end
27
+ shutdown("Process Completed")
28
+ exit 0
28
29
  end
29
30
 
30
31
  private
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 9
9
- version: 0.0.9
8
+ - 10
9
+ version: 0.0.10
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Draper