We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2445db6 commit 8102e87Copy full SHA for 8102e87
lib/wizard.js
@@ -77,7 +77,11 @@ const list = async conf => {
77
userId = device.uid;
78
foundAPIRegion = region;
79
}
80
- } catch {
+ } catch (error) {
81
+ if (process.env.DEBUG) {
82
+ console.error(error);
83
+ }
84
+
85
console.error(colors.red('There was an issue fetching that device. Make sure your account is linked and the ID is correct.'));
86
87
// eslint-disable-next-line unicorn/no-process-exit
0 commit comments