mirror of
https://github.com/logos-messaging/packages.git
synced 2026-01-02 14:13:05 +00:00
Handle all errors when calling httpclient.
This commit is contained in:
parent
eb5ca12960
commit
df1b9353e4
@ -63,6 +63,9 @@ proc canFetchNimbleRepository(name: string, urlJson: JsonNode): bool =
|
||||
except AssertionError:
|
||||
echo "W: ", name, ": httpclient failed ", url, " ",
|
||||
getCurrentExceptionMsg()
|
||||
except:
|
||||
echo "W: Another error attempting to request: ", url
|
||||
echo " Error was: ", getCurrentExceptionMsg()
|
||||
|
||||
|
||||
proc check(): int =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user