Skip to content

Commit

Permalink
Exit on error
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleconroy committed Nov 30, 2023
1 parent 5a3bac7 commit 747c786
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/bun-pg/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ async function main() {
process.exit(0);
} catch (e) {
console.error(e);
process.exit(1);
}
})();
1 change: 1 addition & 0 deletions examples/bun-postgres/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@ async function main() {
process.exit(0);
} catch (e) {
console.error(e);
process.exit(1);
}
})();
1 change: 1 addition & 0 deletions examples/node-mysql2/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ async function main() {
process.exit(0);
} catch (e) {
console.error(e);
process.exit(1);
}
})();
1 change: 1 addition & 0 deletions examples/node-pg/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ async function main() {
process.exit(0);
} catch (e) {
console.error(e);
process.exit(1);
}
})();
1 change: 1 addition & 0 deletions examples/node-postgres/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@ async function main() {
process.exit(0);
} catch (e) {
console.error(e);
process.exit(1);
}
})();

0 comments on commit 747c786

Please sign in to comment.