BenFenner/flail_web_sinatra

Digest summary truncating important information.

Closed this issue · 0 comments

Recent flail errors came in that are cutting off important information in the digest summary.

https://dashboard.ors.sc.gov/flail-web/digests/d3a6c88dc1cc044644720573e9d5f476

We are given:
Module::DelegationError Questionnaire#center delegated to student.center, but student is nil: #<Questionnaire id: 87, form_id: 1, student_id: 1, created_at: "2008-12-31 07:41:02", updated_at: "2008-12-31 07:43:19", deleted_at: nil, locked: true, locked_by: 7, assisted_by: "baker", user_id: 7, deleted_by: nil, percent_complete: 100>

We display:
Module::DelegationError Questionnaire#center delegated to student.center, but student is nil: #

The HTML of the page contains the full text. It seems the ruby object is treated like an HTML tag by the browser. This should be trivial to fix.