effective_postmark 0.3.0 → 0.3.1
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: 126e1abadb41cf5b943b35e7a7a6203be5481fc8bfe715d94a2ca5cc1bb7fe0a
|
4
|
+
data.tar.gz: 25d9e3cdd21979fe4a6af8af79fd96ec1c58840826daebf896053441d8bf2362
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0c5e4484613c33b2fb060cb9badb82189f522980cc395d13e61ca2b1b58cec236920e4d9ab970d0f852f40a231b2e621a26201a5f57c1644c43131c2d27fa1f
|
7
|
+
data.tar.gz: fafd13bb0561f814dbba82552ecf169065407bb9968ea3cffc9d1ba6ad24b76ea92ce50cd071f4e7dc211050ddeaddb2a6776184e58ab52f9aca697564c5c927
|
@@ -9,7 +9,7 @@ module EffectivePostmarkMailer
|
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
|
-
rescue_from(::StandardError, with: :effective_postmark_error)
|
12
|
+
#rescue_from(::StandardError, with: :effective_postmark_error)
|
13
13
|
rescue_from(::Postmark::InactiveRecipientError, with: :effective_postmark_inactive_recipient_error)
|
14
14
|
end
|
15
15
|
|
@@ -59,6 +59,11 @@ module EffectivePostmarkMailer
|
|
59
59
|
Rails.logger.info "\e[31m\e[1mEMAIL FAILED\e[0m\e[22m" # bold red
|
60
60
|
Rails.logger.info "#{exception.inspect}"
|
61
61
|
|
62
|
+
EffectiveLogger.error(exception.message) if defined?(EffectiveLogger)
|
63
|
+
ExceptionNotifier.notify_exception(exception) if defined?(ExceptionNotifier)
|
64
|
+
|
65
|
+
raise(exception) if Rails.env.test? || Rails.env.development?
|
66
|
+
|
62
67
|
true
|
63
68
|
end
|
64
69
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_postmark
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|