airbrake_tools 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/airbrake_tools/version.rb +1 -1
- data/lib/airbrake_tools.rb +3 -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: f6e685b460c2432e490b9a535f28aba359672c81
|
4
|
+
data.tar.gz: a1e69905a9b4534d24bf595cbada9ac18cc1a103
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 661d9e8ab2d8fcd3fa17896c31a32ea1af4e852f2551f2748fa0ca2e381569f9002dad7133f3b41bc5ddfa04aea07d5f504a8145df1b3efeb6b8d22bcb485555
|
7
|
+
data.tar.gz: 71a7e83db45ae534f9e034821b4ded8d3e689e458112488adca1d4c113eb7b3fcef3042ec9674d6487438323e18793e3945a67a54266e3ef6601500c81043c02
|
data/Gemfile.lock
CHANGED
data/lib/airbrake_tools.rb
CHANGED
@@ -96,8 +96,9 @@ module AirbrakeTools
|
|
96
96
|
puts "Parameters:"
|
97
97
|
notices.each do |notice|
|
98
98
|
# Print each set of parameters with a stable output order.
|
99
|
-
|
100
|
-
|
99
|
+
params = notice.request.params || {}
|
100
|
+
ordered_params = params.sort.map{|k,v| "#{k.inspect}=>#{v.inspect}"}.join(", ")
|
101
|
+
puts "#{notice.uuid.inspect}=>{#{ordered_params}}"
|
101
102
|
end
|
102
103
|
end
|
103
104
|
end
|