mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(plugin-sql-editor): CB420 throw error if content not provided
This commit is contained in:
@@ -138,8 +138,7 @@ export class SqlEditorService {
|
||||
defaultSchema?: string
|
||||
): Promise<void> {
|
||||
if (!contextId) {
|
||||
console.error('updateSqlContext contextId not provided');
|
||||
return;
|
||||
throw new Error('updateSqlContext contextId not provided');
|
||||
}
|
||||
await this.gql.sdk.sqlContextSetDefaults({
|
||||
connectionId,
|
||||
|
||||
Reference in New Issue
Block a user