public
Rubygem
Description: Exception notifications for Merb, via email or web hooks
Homepage: http://code.new-bamboo.co.uk/merb
Clone URL: git://github.com/newbamboo/merb_exceptions.git
Post app_name configuration parameter to webhook.
mloughran (author)
Wed Jul 23 14:40:46 -0700 2008
commit  90c83d18143ddfdd2242a7b40c4b5e4a8b5144c4
tree    c5708a7cfd49d0d6e59b7ea8d66e99f964004868
parent  ce59ea2fcc41687124bf78afd29861518bea682f
...
37
38
39
40
 
41
42
43
...
37
38
39
 
40
41
42
43
0
@@ -37,7 +37,7 @@ Settings
0
 --------
0
 `web_hooks`, `email_addresses`, and `environments` can either be a single string or an array of strings.
0
 
0
-`app_name`: Used to customise emails (default "My App")
0
+`app_name`: Used to customise emails and web hooks (default "My App")
0
 
0
 `email_from`: Exceptions are sent from this address
0
 
...
70
71
72
73
74
 
 
75
76
77
...
70
71
72
 
 
73
74
75
76
77
0
@@ -70,8 +70,8 @@ module MerbExceptions
0
         'exception_backtrace' => (exception.backtrace or []).join("\n"),
0
         'merb_exception_class' => exception.class,
0
         'original_exception_class' => original_exception_class,
0
- 'environment' => details['environment']
0
-
0
+ 'environment' => details['environment'],
0
+ 'app_name' => @config[:app_name]
0
       }
0
     end
0
 

Comments

    No one has commented yet.