mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-01-05 23:23:08 +00:00
Add log scope
This commit is contained in:
parent
30871c7b1d
commit
663df96607
@ -13,6 +13,9 @@ type
|
|||||||
Signer* = ref object of RootObj
|
Signer* = ref object of RootObj
|
||||||
populateLock: AsyncLock
|
populateLock: AsyncLock
|
||||||
|
|
||||||
|
logScope:
|
||||||
|
topics = "ethers signer"
|
||||||
|
|
||||||
template raiseSignerError*(message: string, parent: ref CatchableError = nil) =
|
template raiseSignerError*(message: string, parent: ref CatchableError = nil) =
|
||||||
raise newException(SignerError, message, parent)
|
raise newException(SignerError, message, parent)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user