exceptionhandler 0.0.2 → 0.0.3
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.
- checksums.yaml +4 -4
- data/lib/exceptionhandler.rb +1 -1
- 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: dc49633e85b1a22d5d4fa05de6857ea6ab74ae35
|
|
4
|
+
data.tar.gz: eb30e8ad44ecd02e4034143825187eade59af88c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8ea1915282ca3deb70b302450d34ba7c29d959581e3a3c3e102d5c5d68f1452b6fe3c81973573d7da9edfbeaf7fa33e72af0ce8cf566c763af5a644ff1718b1
|
|
7
|
+
data.tar.gz: 383b6eb62a2984a278a08d7e48f75dece6cd49a266bf66b49dd32e20758e4a9eb40e2d7169625ff7b7a22af0f66b80880c1867ff017850f834c5e50a00ced368
|
data/lib/exceptionhandler.rb
CHANGED
|
@@ -41,7 +41,7 @@ class ExceptionHandler
|
|
|
41
41
|
(options[:exception].backtrace || []).join("\n")
|
|
42
42
|
|
|
43
43
|
# Create a hash id from the exception class and the stacktrace to identify unique occurences of the same exception class
|
|
44
|
-
hash_id = Digest::SHA256.hexdigest "#{
|
|
44
|
+
hash_id = Digest::SHA256.hexdigest "#{excep} #{backtrace}"
|
|
45
45
|
|
|
46
46
|
request_body = @request_body_base
|
|
47
47
|
request_body[:timestamp] = Time.now
|