Skip to content

Commit

Permalink
quality: address minor cop issue with automated error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
macite committed Jul 22, 2024
1 parent b70aeac commit b868799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ def convert_submission_to_pdf(source_folder: FileHelper.student_work_dir(:new),
rescue => e
clear_in_process
trigger_transition trigger: 'fix', by_user: project.tutor_for(task_definition)
add_text_comment project.tutor_for(task_definition), "**Automated Comment**: Something went wrong with your submission. Check the files and resubmit this task. #{e.message.to_s}"
add_text_comment project.tutor_for(task_definition), "**Automated Comment**: Something went wrong with your submission. Check the files and resubmit this task. #{e.message}"
raise e
end
end
Expand Down

0 comments on commit b868799

Please sign in to comment.