Remove false async raises

This commit is contained in:
Tanguy 2022-01-06 12:16:15 +01:00
parent f3dee6865c
commit 7eb3225d19
No known key found for this signature in database
GPG Key ID: 7DD8EC6B6CE6C45E
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
asynctest;https://github.com/markspanbroek/asynctest@#3882ed64ed3159578f796bc5ae0c6b13837fe798
bearssl;https://github.com/status-im/nim-bearssl@#ba80e2a0d7ae8aab666cee013e38ff8d33a3e5e7
chronicles;https://github.com/status-im/nim-chronicles@#2a2681b60289aaf7895b7056f22616081eb1a882
chronos;https://github.com/status-im/nim-chronos@#7dc58d42b6905a7fd7531875fa76060f8f744e4e
chronos;https://github.com/status-im/nim-chronos@#f8a55aeb4e356a67f0f7311a90f7b6467c505860
dnsclient;https://github.com/ba0f3/dnsclient.nim@#fbb76f8af8a33ab818184a7d4406d9fee20993be
faststreams;https://github.com/status-im/nim-faststreams@#c653d05f277dca0f374732c5b9b80f2368faea33
httputils;https://github.com/status-im/nim-http-utils@#507bfb7dcb6244d76ce2567df7bf3756cbe88775
@ -13,5 +13,5 @@ serialization;https://github.com/status-im/nim-serialization@#11a8aa64d27d4fa92e
stew;https://github.com/status-im/nim-stew@#2f9c61f485e1de6d7e163294008276c455d39da2
testutils;https://github.com/status-im/nim-testutils@#aa6e5216f4b4ab5aa971cdcdd70e1ec1203cedf2
unittest2;https://github.com/status-im/nim-unittest2@#4e2893eacb916c7678fdc4935ff7420f13bf3a9c
websock;https://github.com/status-im/nim-websock@#c2aae352f7fad7a8d333327c37e966969d3ee542
websock;https://github.com/status-im/nim-websock@#b31ff99b9d5200eea175520c820a3c9f91093bbf
zlib;https://github.com/status-im/nim-zlib@#d4e716d071eba1b5e0ffdf7949d983959e2b95dd

View File

@ -50,7 +50,7 @@ proc resolveDnsAddress(
ma: MultiAddress,
domain: Domain = Domain.AF_UNSPEC,
prefix = ""): Future[seq[MultiAddress]]
{.async, raises: [Defect, MaError, TransportAddressError].} =
{.async.} =
#Resolve a single address
var pbuf: array[2, byte]

View File

@ -210,7 +210,7 @@ proc new*(
ms: ms)
upgrader.streamHandler = proc(conn: Connection)
{.async, gcsafe, raises: [Defect].} =
{.async, gcsafe.} =
trace "Starting stream handler", conn
try:
await upgrader.ms.handle(conn) # handle incoming connection