mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
src/utils/web: Add another "UNKNOWN_HOST" code to catch.
This commit is contained in:
parent
9c34b231aa
commit
9cb1669b5f
@ -66,7 +66,7 @@ def strError(e):
|
|||||||
return TIMED_OUT
|
return TIMED_OUT
|
||||||
elif n == 104:
|
elif n == 104:
|
||||||
return RESET_BY_PEER
|
return RESET_BY_PEER
|
||||||
elif n in (8, 7, 3, 2, -2):
|
elif n in (8, 7, 3, 2, -2, -3):
|
||||||
return UNKNOWN_HOST
|
return UNKNOWN_HOST
|
||||||
elif n == 403:
|
elif n == 403:
|
||||||
return FORBIDDEN
|
return FORBIDDEN
|
||||||
|
Loading…
Reference in New Issue
Block a user