errplane 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
data/lib/errplane/sinatra.rb
CHANGED
@@ -1,10 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
Errplane.configure(true) do |config|
|
2
|
+
config.logger ||= logger
|
3
|
+
config.rails_environment ||= settings.environment
|
4
|
+
config.rails_root ||= settings.root
|
5
|
+
config.framework = "Sinatra"
|
6
|
+
config.framework_version = ::Sinatra::VERSION
|
7
|
+
config.language = "Ruby"
|
8
|
+
config.language_version = "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
|
9
|
+
config.environment_variables = ENV.to_hash
|
10
|
+
end
|
8
11
|
|
9
12
|
error do
|
10
13
|
Errplane.transmit_unless_ignorable(request.env['sinatra.error'], request.env)
|
data/lib/errplane/version.rb
CHANGED