Fix missing return statement

This commit is contained in:
Arnaud 2025-10-27 10:52:16 +01:00
parent 6e2944ff09
commit 6b6469604e
No known key found for this signature in database
GPG Key ID: B8FBC178F10CA7AE

View File

@ -117,6 +117,7 @@ proc process*(
if res.isErr:
error "Failed to get PEER.", error = res.error
return err($res.error)
return res
of NodeDebugMsgType.LOG_LEVEL:
let res = (await updateLogLevel(codex, self.logLevel))
if res.isErr: