Skip to content

Commit 6b173d2

Browse files
committed
fix(lastfm.py): minor fix in error handling
1 parent c49a22a commit 6b173d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_scanner/email_scan/music/lastfm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async def _check(email: str) -> Result:
4848
return Result.available()
4949

5050
else:
51-
return Result.error(data)
51+
return Result.error("Unexpected response body, report it via GitHub issues")
5252

5353
except httpx.TimeoutException:
5454
return Result.error("Connection timed out")

0 commit comments

Comments
 (0)