There was an error while loading. Please reload this page.
1 parent 67c091b commit 3d7d4dfCopy full SHA for 3d7d4df
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+### 2.1.4 | 2022-06-10
4
+
5
+- Fix uncaught error when failing to connect to the extension service
6
7
### 2.1.3 | 2022-03-04
8
9
- Support arm64 builds on Linux
lib/request.ts
@@ -36,9 +36,7 @@ export async function getJSON<T>(api: string): Promise<T> {
36
}
37
});
38
39
-res.on('error', err => {
40
-reject(err);
41
-});
42
+res.on('error', reject);
+}).on('error', reject);
43
44
0 commit comments