department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
283 stars 205 forks source link

4.1K NoMethodError title:"NoMethodError: undefined method `[]' since July 30th #90901

Closed sanjabaj2 closed 2 months ago

sanjabaj2 commented 3 months ago

Issue Description

About 4,100 instances of this error introduced on June 30th or so in this change.

About 250/day. Not sure what is user experience.

NoMethodError undefined method `[]' for true (NoMethodError)

decisions = diaries && diaries[:dependency_decs]
                              ^^^^^^^^^^^^^^^^^^

Example can be seen in this Sentry log. List of all log entries where it is visible when the error was introduced.

Tasks

Acceptance Criteria

mjknight50 commented 2 months ago

Prioritizing https://github.com/department-of-veterans-affairs/va.gov-team/issues/90970 so that we can find the root cause.