utopia 0.9.34 → 0.9.35

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,8 +16,6 @@ module Utopia
16
16
 
17
17
  @error_path = error_path
18
18
  @error_status = error_status
19
-
20
- @log = Logger.new($stderr)
21
19
  end
22
20
 
23
21
  def to_s
@@ -55,10 +53,12 @@ module Utopia
55
53
  begin
56
54
  return @app.call(env)
57
55
  rescue Exception => ex
58
- @log.error "Exception #{ex.to_s.dump}!"
56
+ log = Logger.new(env['rack.errors'])
57
+
58
+ log.error "Exception #{ex.to_s.dump}!"
59
59
 
60
60
  ex.backtrace.each do |bt|
61
- @log.error bt
61
+ log.error bt
62
62
  end
63
63
 
64
64
  if env['PATH_INFO'] == @location
@@ -6,7 +6,7 @@ module Utopia
6
6
  module VERSION
7
7
  MAJOR = 0
8
8
  MINOR = 9
9
- TINY = 34
9
+ TINY = 35
10
10
 
11
11
  STRING = [MAJOR, MINOR, TINY].join('.')
12
12
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 34
9
- version: 0.9.34
8
+ - 35
9
+ version: 0.9.35
10
10
  platform: ruby
11
11
  authors:
12
12
  - Samuel Williams
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-01 00:00:00 +12:00
17
+ date: 2010-07-06 00:00:00 +12:00
18
18
  default_executable: utopia
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency