harbr 0.1.63 → 0.1.65
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/harbr/version.rb +1 -1
- data/lib/harbr.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8df319e01d1fbdbf5adf4774cc0b3e006040a1b2e2c259c9d2063e7a290ada05
|
4
|
+
data.tar.gz: bddd591348f8ced8b54ddb7bc677f9bae16b947626714f6cb498c36f5c969fa5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 479fb43e867bc630cf7a757bbb873317232071fb1c9a5899c971fea064ee6a58565887f022a55bf9cab911ee4a3fa2339f4727fdd4c11b745565e1ca1a1878fb
|
7
|
+
data.tar.gz: 611081e8085eb8fb7fd6679525b39d4614d86b8361f8f779678c940ddd9d4fa5bf0704c4d697ebbfb9b64562621b4883cfc2f2b2f545f4f035af1aa1aa467f85
|
data/lib/harbr/version.rb
CHANGED
data/lib/harbr.rb
CHANGED
@@ -28,8 +28,12 @@ module Harbr
|
|
28
28
|
html: body
|
29
29
|
}
|
30
30
|
|
31
|
+
puts "Sending notification: #{params}"
|
32
|
+
|
31
33
|
Resend::Emails.send(params)
|
32
34
|
rescue => e
|
35
|
+
puts "Error: #{e.class}"
|
36
|
+
puts "backtrace: #{e.backtrace.join('\n')}"
|
33
37
|
puts "Error sending notification: #{e.message}"
|
34
38
|
end
|
35
39
|
|