Skip to content

Commit

Permalink
Fix not waiting for last trace export promise.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Oct 2, 2023
1 parent 7f34231 commit 8279123
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scripts/export/trace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,8 @@ const trace = async () => {
}, 50)
})

await traceExporter

// Close database connection.
await dataSequelize.close()

Expand Down

0 comments on commit 8279123

Please sign in to comment.