soar_auditing_provider 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6149626e5150420762fa232e103b7c44c11351ec
|
4
|
+
data.tar.gz: c8a6ff6cda349e5b002515a9a2bb7d0872cd6ac3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 864e2c4be2d4f52d73a89ffe59e5127702311173f9974cdaf7234cf0c718fd29bdfa397f074f523b17f859822650af9173b398a17d47937dc75378f9fefbb51d
|
7
|
+
data.tar.gz: ecbb36ba0573869aa2fd5d1745f6b39df03ba907ee48412b74db5e145d790eb86aa6b463abc46ed178b59c2469d3798e83ef31d31317f9b7e2bd1f7c1edd1c41
|
@@ -78,8 +78,9 @@ module SoarAuditingProvider
|
|
78
78
|
@worker.flush(timeout: timeout)
|
79
79
|
end
|
80
80
|
|
81
|
-
def audit_exception(exception:, level: :error, flow_id: nil)
|
81
|
+
def audit_exception(exception:, level: :error, flow_id: nil, message: nil)
|
82
82
|
exception_message = "#{exception.class}: #{exception.message}"
|
83
|
+
exception_message = "#{message} - #{exception_message}" if message
|
83
84
|
exception_message = exception_message + ":\n\t" + exception.backtrace.join("\n\t") if ENV['RACK_ENV'] == 'development'
|
84
85
|
level = :error if not is_valid_audit_level?(level)
|
85
86
|
send(level,exception_message,flow_id)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soar_auditing_provider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ernst van Graan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-10-
|
12
|
+
date: 2016-10-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|