Skip to content

Commit

Permalink
errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fredzqm committed May 10, 2024
1 parent 0601f00 commit e8e700b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dataconnect/schemaMigration.ts
Expand Up @@ -39,6 +39,10 @@ export async function diffSchema(schema: Schema): Promise<Diff[]> {
displaySchemaChanges(incompatible);
return incompatible.diffs;
}
if (!incompatible && !invalidConnectors.length) {
// If we got a different type of error, throw it
throw err;
}
}
return [];
}
Expand Down

0 comments on commit e8e700b

Please sign in to comment.