kevva / wifi-name

Get current wifi name

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Throw a specific error when wifi is not actived

Manu1400 opened this issue · comments

1/ On Mac, disable wifi
2/ run the example of README

The error return :
(node:27211) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Could not get SSID

expectation : return a specific error (Error: Wifi disabled. Can get SSID.)

Thanks for reporting. I've published a new release with a fix.