fix: Display api errors in desktop connect

This commit is contained in:
Susmitha Girumala committed 2021-04-14 10:03:14 -04:00
1 parent f31a93085a
commit 26e6cc8a9b
1 file changed
+1 -1
+1 -1
View File
@@ -53,7 +53,7 @@ module.exports = {
const jsonData = jsonify(errorStream);
if (jsonData) {
const error = jsonData.api_error || jsonData.error;
reject(new Error(error));
reject(new Error(error.message));
}
});
});