flame 3.5.0 → 3.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flame/dispatcher.rb +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddfac9ca1683d37d1782db0a2d75a6ead827ad5f
|
4
|
+
data.tar.gz: 4e48da1837081b1e75b6cda68129a35afcb78bd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 399fef3674ef559d1bf12de273a0ad922be1c5b490039af822b54fce6b2b9cc3304fef066506dda33d197a53cb60ea2e8dd26525f72a4bb8b5f098d0aef1a332
|
7
|
+
data.tar.gz: d10eb91b13908d53218b69152faf652ae0a834cea16ec2dd46894cd298d75a320c7a47777c4cf3691dca3313c3ab0be2c44e4764f7f1451302969e8c28f1053d
|
data/lib/flame/dispatcher.rb
CHANGED
@@ -109,9 +109,12 @@ module Flame
|
|
109
109
|
end
|
110
110
|
|
111
111
|
def try_error(error_status = nil, exec_route = nil)
|
112
|
-
exec_route = nearest_route_for_request.executable unless exec_route
|
113
112
|
status error_status if error_status
|
114
|
-
exec_route
|
113
|
+
unless exec_route
|
114
|
+
route = nearest_route_for_request unless exec_route
|
115
|
+
exec_route = route.executable if route
|
116
|
+
end
|
117
|
+
exec_route.execute_errors(status) if exec_route
|
115
118
|
halt
|
116
119
|
end
|
117
120
|
|