File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
services/proofing/socure/id_plus Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,15 @@ def perform(
29
29
)
30
30
timer = JobHelpers ::Timer . new
31
31
32
+ user = User . find_by ( id : user_id )
33
+
32
34
raise_stale_job! if stale_job? ( enqueued_at )
33
35
34
36
decrypted_args = JSON . parse (
35
37
Encryption ::Encryptors ::BackgroundProofingArgEncryptor . new . decrypt ( encrypted_arguments ) ,
36
38
symbolize_names : true ,
37
39
)
38
40
39
- user = User . find_by ( id : user_id )
40
41
current_sp = ServiceProvider . find_by ( issuer : service_provider_issuer )
41
42
42
43
applicant_pii = decrypted_args [ :applicant_pii ]
@@ -71,6 +72,7 @@ def perform(
71
72
state_id_success : callback_log_data &.state_id_success ,
72
73
device_profiling_success : callback_log_data &.device_profiling_success ,
73
74
timing : timer . results ,
75
+ user_id : user . uuid ,
74
76
)
75
77
76
78
if use_shadow_mode? ( user :, proofing_components :)
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ def proof(applicant)
42
42
43
43
build_result_from_response ( response )
44
44
rescue Proofing ::TimeoutError , Request ::Error => err
45
+ NewRelic ::Agent . notice_error ( err )
45
46
build_result_from_error ( err )
46
47
end
47
48
You can’t perform that action at this time.
0 commit comments