Can`t catch aiohttp.InvalidURL #5450
Answered
by
Dreamsorcerer
MichaelDc86
asked this question in
Q&A
-
I am trying to catch the aiohttp.InvalidURL. It is derived from base ClientError and ValueError, but raises TypeError(not ValueError as I escpected because of being derived)...can not understand where I am wrong. here is smple example:
|
Beta Was this translation helpful? Give feedback.
Answered by
Dreamsorcerer
Jan 29, 2021
Replies: 1 comment 1 reply
-
Maybe you need to read the TypeError. :P
Fixed code:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MichaelDc86
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe you need to read the TypeError. :P
Fixed code: