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 error message for failed app link #167

Open
lornajane opened this issue Jul 25, 2018 · 1 comment
Open

Better error message for failed app link #167

lornajane opened this issue Jul 25, 2018 · 1 comment

Comments

@lornajane
Copy link
Contributor

Steps to reproduce

nexmo app:link [number that I own] [wrong app ID]

Expected behavior

Error message saying "couldn't link to that app" or something.

Actual behavior

Error message: method failed

Same error message in verbose mode

System configuration

Node version: v9.3.0

NPM version: 6.1.0

Operating system: Ubuntu 18.04

(I'm happy to attempt a patch if anyone else is happy for me to do that)

@mheap
Copy link
Contributor

mheap commented Jul 25, 2018

Sadly there's no easy way to do this as it comes from the API. See https://github.com/Nexmo/nexmo-php/blob/master/src/Numbers/Client.php#L229-L238 for more information

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

No branches or pull requests

2 participants