axelarnetwork / tofnd

A gRPC server wrapper for the https://github.com/axelarnetwork/tofn library.
Apache License 2.0
25 stars 10 forks source link

chore(logs): remove logs and change tofnd return status for logical reserve errors #251

Closed sdaveas closed 2 years ago

sdaveas commented 2 years ago

Addressing #228 and #250, we need to remove the error logs that are emitted when the mnemonic already exists in the kv-store. Additionally, map tofnd's errors to exit codes. For now, we can have a single exit code for all errors.