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

Adding some try catch to various places that cause hard errors, espec… #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrisschaub
Copy link
Collaborator

Adding some try catch to various places that cause hard errors, especially for empty buffers; fixing issue with parseInt and listen port on command line not being set; fixed issue with namespaces from config not being correctly passed to the epp xml building code; nameservers are technically optional for createDomain; more try catch is necessary along with recovery for timeouts

…ially for empty buffers; fixing issue with parseInt and listen port on command line not being set; fixed issue with namespaces from config not being correctly passed to the epp xml building code; nameservers are technically optional for createDomain; more try catch is necessary along with recovery for timeouts
@heytrav
Copy link
Owner

heytrav commented Nov 12, 2016

The change to the way namespaces are passed is something I would like to have verified with other registries as it is currently breaking the tests. The current implementation worked fine when I used it in the past and no other users have reported issues with it (yet).

If indeed it is valid, then the tests should also be updated accordingly.

Otherwise, it looks ok to me. I would just like to see the tests passing before I merge.

@chrisschaub
Copy link
Collaborator Author

The problem I noticed is that the previous code was not honoring the
settings in the config.json, it was pretty much ignoring them or partially
ignoring in the case of domain commands. I'll make the example config and
tests match what the code had before outputting before, that way there is
no change for the example and the tests, and then they should pass as
before. Another pull request coming today.

On Sat, Nov 12, 2016 at 11:52 AM, William Travis Holton <
[email protected]> wrote:

The change to the way namespaces are passed is something I would like to
have verified with other registries as it is currently breaking the tests.
The current implementation worked fine when I used it in the past and no
other users have reported issues with it (yet).

If indeed it is valid, then the tests should also be updated accordingly.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#10 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADKssMNO2bb11DEEbN-KzyAX2BtwWeo-ks5q9fzsgaJpZM4Kvrij
.

Christopher Schaub
http://chris.schaub.com

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.

2 participants