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

Fixed exceptions when using fetchThreadInfo() #41

Merged
merged 1 commit into from
Jun 1, 2020
Merged

Fixed exceptions when using fetchThreadInfo() #41

merged 1 commit into from
Jun 1, 2020

Conversation

markovcd
Copy link
Contributor

@markovcd markovcd commented Jun 1, 2020

Unknown thread type exception and null reference exceptions were popping up.

time: data.get("time")?.Value<string>(),
title: data.get("event_title")?.Value<string>(),
location: data.get("location_name")?.Value<string>()
time: data?.get("time")?.Value<string>(),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If data is null here something else is the issue

@gave92
Copy link
Owner

gave92 commented Jun 1, 2020

Thanks for this PR. I'm approving this even if I'm not sure whether it's fixing the issue or just "the symptoms" (see comment above)

@gave92 gave92 merged commit 2e0aa1c into gave92:master Jun 1, 2020
@markovcd markovcd deleted the fix-fetchThreadInfo-exceptions branch June 2, 2020 08:05
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

Successfully merging this pull request may close these issues.

2 participants