Skip to content

Commit 57f8d18

Browse files
committed
fix: add catch
1 parent 08b39be commit 57f8d18

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/monaco-plugin-ob/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@oceanbase-odc/monaco-plugin-ob",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "",
55
"main": "dist/index.js",
66
"scripts": {

packages/monaco-plugin-ob/src/inlineCompletion/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ class MonacoInlineComplete implements monaco.languages.InlineCompletionsProvider
6060
]
6161
}
6262
)
63+
}).catch(e => {
64+
console.log('inline completion: ', e)
6365
})
6466
}
6567
}

0 commit comments

Comments
 (0)