network.WIZNET5K error handling; Was I doing something wrong? #10507
GM-Script-Writer-62850
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was using the last build from last year for the Wiznet W5500-EVB-Pico
Every time I get a network error (eg:
BadStatusLine
) the PICO crashes/hard locks without errors in ThonnyIf anythings goes wrong there is no output in thonny and try/except does not work on it, this makes debugging a nightmare
Now when I switched wiznet's build: v2.0.0 firmware.uf2
Now if a error occurs I do get a error in Thonny and try/except does work on it
This is the ugly code I ended up using to make a network request, at this pint i do not know if
r.close()
/r=None
accomplish anything but I do not want to deal with itBeta Was this translation helpful? Give feedback.
All reactions