rookout 0.1.13 → 0.1.14
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 768d976e24dea5552d46df61aae43d63ca09bc620cc5ea04f2d350ce0d1fdd26
|
4
|
+
data.tar.gz: 9261c7aea1c3e1269129ddfe9941c4241e8ee6107be39e839c7e35be36156d80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3fae0189f0f86b8e61c4ed763677882760f2d155a704e08504751f0e31aac3325660bcd089fcf5d393a9e6de3627d6e767fee5c8a3962d7d7b3d6e17b38e78c
|
7
|
+
data.tar.gz: 58fb6dddd9364f299d184e637ff4e28c13cad9b9f1bc098324eff01342f0d6b0a0fc35b8853553f1f6f4e8f63145e576b67cdfd2bf519509ad19ea72bab1d318
|
@@ -51,11 +51,11 @@ module Rookout
|
|
51
51
|
def add message
|
52
52
|
buffer = wrap_in_envelope message
|
53
53
|
if buffer.length > Config.agent_com_max_message_limit
|
54
|
-
exc = Exceptions::RookMessageSizeExceeded.new buffer.length,
|
55
|
-
warning = RookError.new exc
|
54
|
+
exc = Exceptions::RookMessageSizeExceeded.new buffer.length, Config.agent_com_max_message_limit
|
55
|
+
warning = Processor::RookError.new exc
|
56
56
|
UserWarnings.notify_warning warning
|
57
57
|
|
58
|
-
Logger.instance.
|
58
|
+
Logger.instance.warning "Dropping message, size was #{buffer.length} which is over the message size limit"
|
59
59
|
return
|
60
60
|
end
|
61
61
|
|
data/lib/rookout/commit.rb
CHANGED
data/lib/rookout/exceptions.rb
CHANGED
@@ -94,7 +94,7 @@ module Rookout
|
|
94
94
|
super "Message size of #{message_size} exceeds max size limit of #{max_message_size}. " \
|
95
95
|
"Change the depth of collection or change the default by setting ROOKOUT_MAX_MESSAGE_SIZE " \
|
96
96
|
"as environment variable or system property",
|
97
|
-
{ message_size
|
97
|
+
{ "message_size" => message_size, "max_message_size" => max_message_size }
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
@@ -12,15 +12,15 @@ module Rookout
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def call_method _name, _args
|
15
|
-
RubyObjectNamespace nil
|
15
|
+
Rookout::Processor::Namespaces::RubyObjectNamespace.new nil
|
16
16
|
end
|
17
17
|
|
18
18
|
def read_attribute _name
|
19
|
-
RubyObjectNamespace nil
|
19
|
+
Rookout::Processor::Namespaces::RubyObjectNamespace.new nil
|
20
20
|
end
|
21
21
|
|
22
22
|
def read_key _key
|
23
|
-
RubyObjectNamespace nil
|
23
|
+
Rookout::Processor::Namespaces::RubyObjectNamespace.new nil
|
24
24
|
end
|
25
25
|
|
26
26
|
def dump _log_object_errors
|
data/lib/rookout/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rookout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Liran Haimovitch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: binding_of_caller
|