Open N1ark opened 1 year ago
Yeah that should have been handled better. In the newer inquirer-autocomplete-standalone
package it is handled and presented as an error if it fails.
Not sure why I never implemented that, I guess I never had the problem myself so forgot/ignored, and nobody else mentioned it either until now :)
Nice ! Yeah understandable hahah, thanks for implementing it :D
I've been using the plugin, and noticed that it doesn't seem possible to properly catch errors thrown within the
source
async function to allow for a graceful exit withthis.error
if something goes wrong. No error message is printed either, and callingthis.error
inside the async function doesn't work either.Is there something I missed?
Example code: