Skip to content

Commit 0fdb00e

Browse files
committed
Update error message for unsupported protocol in Thin mode
1 parent cc17925 commit 0fdb00e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/thin/sqlnet/ezConnectResolver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class EZConnectResolver {
145145
if (!(url.includes("//")))
146146
protocol = 'TCP';
147147
} else if (protocol.toLowerCase() != 'tcp' && protocol.toLowerCase() != 'tcps') {
148-
errors.throwErr(errors.ERR_INVALID_EZCONNECT_SYNTAX, 'Invalid protocol', protocol);
148+
errors.throwErr(errors.ERR_INVALID_EZCONNECT_SYNTAX, 'Unsupported protocol in thin mode', protocol);
149149
}
150150
// Try to get the proxy information from URL properties
151151
const proxyHost = this.urlProps.get("HTTPS_PROXY");

0 commit comments

Comments
 (0)