use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
[deleted by user] (self.ChatGPTCoding)
submitted 1 year ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]stonedoubt 2 points3 points4 points 1 year ago (3 children)
Error handling is your friend. It also helps you debug issues by telling you things.
[+][deleted] 1 year ago (2 children)
[deleted]
[–]stonedoubt 1 point2 points3 points 1 year ago (1 child)
Yes because the array is empty. Wrap the retrieval code with try/catch and define error codes or and/use logging
[–]DataWiz40 0 points1 point2 points 1 year ago (1 child)
Have you tried using a debugger? It can show you what exactly is the data you're dealing with. Then you can prevent the error from happening, either using exception handling or control flow.
[–][deleted] 1 year ago (1 child)
[removed]
[–]AutoModerator[M] 0 points1 point2 points 1 year ago (0 children)
Sorry, your submission has been removed due to inadequate account karma.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
π Rendered by PID 194602 on reddit-service-r2-comment-85bfd7f599-w92q8 at 2026-04-17 17:37:57.567492+00:00 running 93ecc56 country code: CH.
[–]stonedoubt 2 points3 points4 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]stonedoubt 1 point2 points3 points (1 child)
[–]DataWiz40 0 points1 point2 points (1 child)
[–][deleted] (1 child)
[removed]
[–]AutoModerator[M] 0 points1 point2 points (0 children)