Skip to content

Commit

Permalink
fix: recover from broken connection
Browse files Browse the repository at this point in the history
  • Loading branch information
beltschatsar committed Jan 16, 2024
1 parent 3764ded commit 3179732
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dialects/oracle/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ function isConnectionError(err) {
'ORA-56600', // an illegal OCI function call was issued
'NJS-024',
'NJS-003',
'NJS-500',
].some(function (prefix) {
return err.message.indexOf(prefix) === 0;
});
Expand Down

0 comments on commit 3179732

Please sign in to comment.