Skip to content

Commit 9815fd2

Browse files
committed
feat: improve error reporting to send task log details
1 parent 4fd4ed3 commit 9815fd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/sidekiq/accept_submission_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def perform(task_id, user_id, accepted_tii_eula)
2929

3030
begin
3131
# Notify system admin
32-
mail = ErrorLogMailer.error_message('Accept Submission', "Failed to convert submission to PDF for task #{task.id} by user #{user.id}", e)
32+
mail = ErrorLogMailer.error_message('Accept Submission', "Failed to convert submission to PDF for task #{task.log_details}", e)
3333
mail.deliver if mail.present?
3434

3535
logger.error e

0 commit comments

Comments
 (0)