eivo-rails-sidekiq 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/sidekiq.rb +7 -0
- data/eivo-rails-sidekiq.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81e6c57adcaebd0b118d4d1315cd607467ef96237a54908416f39867ac3cd7cd
|
4
|
+
data.tar.gz: 83d66de5bc341d9b7484f48448a4f1780ccda464bcb0d59519e6301713c853dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36d4756dfa2e24a80bbad8975e7dca83ab5ab1861c88f6c70c2261aae5e5505a9e9b1fe7d5e077b234c278e2dafdf95ba113593068046d2af0de583bff274192
|
7
|
+
data.tar.gz: 20659b03acc0e873ada6a6757d46a1e4fa171b3157f72b984aaa8b1e4ced4155b876072752981a834fed8c724545d95091b831b7010ae79b7653bf5d59e50045
|
@@ -17,6 +17,13 @@ Sidekiq.configure_server do |config|
|
|
17
17
|
|
18
18
|
if Rails.env.staging? || Rails.env.production?
|
19
19
|
config.log_formatter = ::EIVO::Formatter.new
|
20
|
+
|
21
|
+
config.error_handlers << proc do |error, context|
|
22
|
+
Sidekiq.logger.error {
|
23
|
+
error: ["#{e.class.name}: #{e.message}", e.backtrace.to_s.join("\n")].join("\n"),
|
24
|
+
context: context
|
25
|
+
}
|
26
|
+
end
|
20
27
|
end
|
21
28
|
end
|
22
29
|
|
data/eivo-rails-sidekiq.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eivo-rails-sidekiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan VUKOVICH-TRIBOUHARET
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|