This commit is contained in:
Adria Navarro 2023-10-18 12:07:50 +02:00
parent 0894353cc9
commit 06ae3fb52c
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import { IncludeDocs, getLinkDocuments } from "./linkUtils"
import { InternalTables, getUserMetadataParams } from "../utils"
import { FieldTypes } from "../../constants"
import { context } from "@budibase/backend-core"
import { context, logging } from "@budibase/backend-core"
import LinkDocument from "./LinkDocument"
import {
Database,
@ -432,8 +432,8 @@ class LinkController {
delete linkedTable.schema[field.fieldName]
await this._db.put(linkedTable)
}
} catch (err) {
// Ignored error
} catch (err: any) {
logging.logWarn(err?.message, err)
}
}
// need to get the full link docs to delete them