Skip to content

Commit

Permalink
Fail export job on error
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzsternemann committed Mar 31, 2024
1 parent 2d1b692 commit fbe1c7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporter/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ async function exportSchema(environment: CKEnvironment, filename: string) {
console.log(`Schema downloaded to ${destPath}`)
} catch (error) {
console.error(configuration.jsonStringify(error, null, 2))
process.exit(1)
}
}

Expand Down

0 comments on commit fbe1c7d

Please sign in to comment.