mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-27 05:37:45 +00:00
@@ -100,9 +100,11 @@ class Main {
|
||||
const response = JSON.parse(err.responseText);
|
||||
return TPromise.wrapError(response.message);
|
||||
} catch (e) {
|
||||
return TPromise.wrapError(err);
|
||||
// noop
|
||||
}
|
||||
}
|
||||
|
||||
return TPromise.wrapError(err);
|
||||
})
|
||||
.then(result => {
|
||||
const [extension] = result.firstPage;
|
||||
|
||||
Reference in New Issue
Block a user