Further improve IndieAuth redirect_uri lookup failure logs#23183
Conversation
|
Hey there @home-assistant/core, mind taking a look at this pull request as its been labeled with a integration ( |
1116936 to
59f428c
Compare
| break | ||
|
|
||
| except (asyncio.TimeoutError, ClientError) as ex: | ||
| _LOGGER.error("Error while looking up redirect_uri %s: %s", url, ex) |
There was a problem hiding this comment.
Is the error message ex not descriptive enough?
There was a problem hiding this comment.
There's no string version of ClientError sadly, so nothing is output for that bit.
Codecov Report
@@ Coverage Diff @@
## dev #23183 +/- ##
==========================================
- Coverage 94.21% 94.17% -0.04%
==========================================
Files 457 457
Lines 37085 37096 +11
==========================================
- Hits 34938 34937 -1
- Misses 2147 2159 +12
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## dev #23183 +/- ##
==========================================
- Coverage 94.21% 94.17% -0.04%
==========================================
Files 457 457
Lines 37085 37096 +11
==========================================
- Hits 34938 34937 -1
- Misses 2147 2159 +12
Continue to review full report at Codecov.
|
Continuing work from #21780, this PR adds some more specific logging for common errors that I've seen reported from iOS users. The excepts are ordered in the same way as the aiohttp Hierarchy of exceptions.