app-routes 0.1.3 → 0.1.4

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/app-routes.rb +5 -1
  2. metadata +1 -1
@@ -33,7 +33,11 @@ class AppRoutes
33
33
  @params.merge!(Hash[raw_params2.map{|x,i| x.to_sym}.zip(args)])
34
34
  end
35
35
 
36
- result = @route[key][:block].call *args
36
+ begin
37
+ result = @route[key][:block].call *args
38
+ rescue
39
+ "app-routes error: " + ($!).to_s
40
+ end
37
41
 
38
42
  break
39
43
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app-routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors: []
7
7