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

crash formatting date/time object #77

Open
biblicabeebli opened this issue Feb 26, 2025 · 0 comments
Open

crash formatting date/time object #77

biblicabeebli opened this issue Feb 26, 2025 · 0 comments
Assignees

Comments

@biblicabeebli
Copy link
Member

biblicabeebli commented Feb 26, 2025

We have an crash error being reported to Sentry but sentry then cannot view the error because it cannot find it? wtf?
It didn't like being link to through a different part of the search? sure ok whatever

https://onnela-lab.sentry.io/issues/6295969616/?project=5211455&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=90d&stream_index=2

SIGABRT Could not cast value of type '%s' (%p) to '%s' (%p)%s%s > Could not cast value of type 'Swift.Optional<Swift.Int>' (0x200595f50) to 'Foundation.Date' (0x2005dd1c0). > Foundation.Date

abbreviated stack:

print (Common.swift:221)
infix (GenericSurveyQuestion.swift:65)
infix (<compiler-generated>)
GenericSurveyQuestion (<compiler-generated>:51)
infix (<compiler-generated>)
infix (Survey.swift:52)
infix (<compiler-generated>)
StudyManager.ensure_always_and_trigger_surveys (StudyManager.swift:344)
StudyManager.updateActiveSurveys (StudyManager.swift:236)
StudyManager.loadDefaultStudy (StudyManager.swift:105)
AppDelegate.initialize_database (AppDelegate.swift:179)
AppDelegate.application (AppDelegate.swift:67)
AppDelegate.application (<compiler-generated>)
AppDelegate.application (<compiler-generated>:62)
Called from
-[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:]
main (AppDelegate.swift:16)

These issues do not have patient ids associated with them. That's.... weird.

@biblicabeebli biblicabeebli self-assigned this Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant