-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: waku_keystore: give some more context in case of error #3064
Conversation
You can find the image built from this PR at
Built from 2583976 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, I hope it will help our node-help channel.
If these messages are for the masses I would reformat them. Left some comments on this.
return err( | ||
AppKeystoreError( | ||
kind: KeystoreJsonError, | ||
msg: "error in conversion_utils decode: " & getCurrentExceptionMsg(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it will be for the public ... like logs for our node-runners I would rather formalize like:
error during decoding credentials:
waku/waku_keystore/keystore.nim
Outdated
err( | ||
AppKeystoreError( | ||
kind: KeystoreOsError, | ||
msg: "error in createAppKeystore: " & getCurrentExceptionMsg(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it will be for the public ... like logs for our node-runners I would rather formalize like:
error while writing keystore:
waku/waku_keystore/keystore.nim
Outdated
return err( | ||
AppKeystoreError( | ||
kind: KeystoreJsonError, | ||
msg: "error in loadAppKeystore: " & getCurrentExceptionMsg(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly:
error during loading keystore:
No description provided.