Attempting to get messages crashes
See original GitHub issueI am trying to use the following code:
try
{
List<Thing> messages0 = await redditService.User.GetUnreadMessages().ToList();
List<PrivateMessage> messages = await redditService.User.GetPrivateMessages().ToList();
}
catch (Exception ex)
{
}
Both lines cause the program (Console app) to immediately quit without being caught by the “catch” block. Any idea what could be causing this? Some debugging shows me that it’s specifically the ToList()
call of each line but I’m not sure how to debug more than that.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Messages app keeps crashing
Press and quickly release Volume UP button · Press and quickly release Volume DOWN button · Press and Hold the SIDE button until...
Read more >How To Fix Android Messages Keeps Crashing
Fix #4: Clear the inbox. At times, a full inbox can make the messaging app to crash. Make sure that your SMS app...
Read more >How to fix Messages app keeps crashing and freezing on ...
Messages app keeps crashing on iPhone? try these fixes, 1. Force quit Messages app, 2. Restart iPhone, 3. Delete Messages automatically...
Read more >How to Solve iPhone Messages App Keeping Crashing
The Messages app becomes frozen on the iPhone may be due to the caches problem. In this case, it is advised that you...
Read more >How to Fix Messages App Keeps Crashing on Samsung ...
The software on your Galaxy S8 might have been outdated. 2. The caches or data of your Messages app have been corrupted and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@CrustyJew currently on vacation but will get back to you next week
Ok, I am seeing the correct results now by changing return type to
Task
and adding a.Wait()
in the Main method. Can confirm that I am getting messages back now! Thanks for all the tips!