Skip to content

Commit

Permalink
refactor: remove a deprecated function (#9702)
Browse files Browse the repository at this point in the history
  • Loading branch information
summer-boythink authored Jan 11, 2023
1 parent defb409 commit 74f7f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data-source/DataSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export class DataSource {
} catch (error) {
// if for some reason build metadata fail (for example validation error during entity metadata check)
// connection needs to be closed
await this.close()
await this.destroy()
throw error
}

Expand Down

0 comments on commit 74f7f79

Please sign in to comment.