softwear-lib 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/mailers/error_report_mailer.rb +13 -12
- data/lib/softwear/library/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27dcf063c6d6668c670f3508f3e9dc378f0998c1
|
4
|
+
data.tar.gz: 2e838eb60272b678b6eee24ede5ee387352452ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b864121e30e1d79d851c49c381badf21507f93bd192fc055184abe9419f36f493436f8c56be6f5de123f7bb304f826685412b2de37606ac7a13430d88626d40
|
7
|
+
data.tar.gz: f2b3b46158dc6972a81f0d79d6c10cb38edf775109a4449fbfaa62dde8f94167bb3ec6119b8e6ad47fc9fa1b7316de13d6d47cd8cccd8ace80f0478753d01797
|
@@ -22,19 +22,20 @@ class ErrorReportMailer < ActionMailer::Base
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
-
if @user.nil?
|
26
|
-
@user = OpenStruct.new(
|
27
|
-
email: 'unknown-user@annarbortees.com',
|
28
|
-
full_name: 'Unknown Customer'
|
29
|
-
)
|
30
|
-
end
|
31
|
-
|
32
|
-
@error_class = params[:error_class]
|
33
|
-
@error_message = params[:error_message]
|
34
|
-
@backtrace = params[:backtrace]
|
35
|
-
@user_message = params[:user_message]
|
36
|
-
@additional_info = params[:additional_info]
|
37
25
|
end
|
26
|
+
|
27
|
+
if @user.nil?
|
28
|
+
@user = OpenStruct.new(
|
29
|
+
email: 'unknown-user@annarbortees.com',
|
30
|
+
full_name: 'Unknown Customer'
|
31
|
+
)
|
32
|
+
end
|
33
|
+
|
34
|
+
@error_class = params[:error_class]
|
35
|
+
@error_message = params[:error_message]
|
36
|
+
@backtrace = params[:backtrace]
|
37
|
+
@user_message = params[:user_message]
|
38
|
+
@additional_info = params[:additional_info]
|
38
39
|
|
39
40
|
mail(
|
40
41
|
from: from_customer ? 'customer-report@softwearcrm.com' : @user.email,
|