Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants