Soften scanner and update to Nim v0.18.0
This commit is contained in:
parent
78e45f0d5b
commit
07b493f066
2 changed files with 9 additions and 8 deletions
|
|
@ -63,9 +63,8 @@ proc canFetchNimbleRepository(name: string, urlJson: JsonNode): bool =
|
|||
try:
|
||||
discard getContent(url, timeout=10000)
|
||||
except HttpRequestError, TimeoutError:
|
||||
echo "E: ", name, ": unable to fetch repository ", url, " ",
|
||||
echo "W: ", name, ": unable to fetch repo ", url, " ",
|
||||
getCurrentExceptionMsg()
|
||||
result = false
|
||||
except AssertionError:
|
||||
echo "W: ", name, ": httpclient failed ", url, " ",
|
||||
getCurrentExceptionMsg()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue