Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FunctionClauseError: no function clause matching in DateTime.to_date/1 #1191

Open
sentry-joshmartin-ch bot opened this issue Feb 1, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@sentry-joshmartin-ch
Copy link

Sentry Issue: BACKEND-214

FunctionClauseError: no function clause matching in DateTime.to_date/1
  File "lib/calendar/datetime.ex", line 896, in DateTime.to_date/1
  File "lib/enum.ex", line 4076, in Enum.find_value_list/3
  File "lib/hygeia/case_context/case.ex", line 411, in Hygeia.CaseContext.Case.phase_dates/2
  File "lib/hygeia/case_context/case.ex", line 443, in Hygeia.CaseContext.Case.earliest_self_service_phase_start_date/2
  File "lib/hygeia_pdf_confirmation/helpers/confirmation_dates.ex", line 11, in HygeiaPdfConfirmation.Helpers.ConfirmationDates.isolation_start_date/2
    {_status, date} = Case.earliest_self_service_phase_start_date(case, Case.Phase.Index)
...
(3 additional frame(s) were not displayed)

(FunctionClauseError no function clause matching in DateTime.to_date/1)
@maennchen maennchen added the bug Something isn't working label Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant