We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d69436b + 5e3c1b5 commit 1525e3fCopy full SHA for 1525e3f
src/migration/globalautonumber.ts
@@ -46,8 +46,13 @@ export class GlobalAutoNumberMigrationTool extends BaseMigrationTool implements
46
}
47
48
public async truncate(): Promise<void> {
49
- // Perform pre-migration checks before truncation
50
- await this.performPreMigrationChecks();
+ try {
+ // Perform pre-migration checks before truncation
51
+ await this.performPreMigrationChecks();
52
+ } catch (error) {
53
+ Logger.logVerbose(error);
54
+ return;
55
+ }
56
this.globalAutoNumberSettings = await this.getAllGlobalAutoNumberSettings();
57
if (this.globalAutoNumberSettings.length > 0) {
58
await super.truncate(GlobalAutoNumberMigrationTool.OMNI_GLOBAL_AUTO_NUMBER_NAME);
0 commit comments