Skip to content

Commit

Permalink
Update error message for unsupported protocol in Thin mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sharadraju committed Jul 6, 2023
1 parent cc17925 commit 0fdb00e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/thin/sqlnet/ezConnectResolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class EZConnectResolver {
if (!(url.includes("//")))
protocol = 'TCP';
} else if (protocol.toLowerCase() != 'tcp' && protocol.toLowerCase() != 'tcps') {
errors.throwErr(errors.ERR_INVALID_EZCONNECT_SYNTAX, 'Invalid protocol', protocol);
errors.throwErr(errors.ERR_INVALID_EZCONNECT_SYNTAX, 'Unsupported protocol in thin mode', protocol);
}
// Try to get the proxy information from URL properties
const proxyHost = this.urlProps.get("HTTPS_PROXY");
Expand Down

0 comments on commit 0fdb00e

Please sign in to comment.