Skip to content
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

Better checks and more error handling #2

Merged
merged 2 commits into from
Sep 20, 2017

Conversation

arj03
Copy link
Member

@arj03 arj03 commented Sep 11, 2017

Was digging around the source, trying to find out why ssbc/ssb-server#417 doesn't work for me. I found what looks type a missing typeof bug and added some more error handling.

@dominictarr
Copy link

I don't think this should throw. ssbKeys.unbox just returns null if it cannot decrypt.

@dominictarr
Copy link

@mmckegg can you add this module to https://github.com/ssbc/ssbc-owners so someone can merge and publish this?

@arj03
Copy link
Member Author

arj03 commented Sep 12, 2017

Right, thanks for catching that. I just wanted better error for when things go sour instead of silently ignoring them.

I'll note that the other place where it catching an exception it does throw in the explain.

@mmckegg
Copy link
Contributor

mmckegg commented Sep 13, 2017

@dominictarr added to ssbc-owners! (as well as a few others that were missing)

@arj03 arj03 merged commit 6650651 into master Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants