Skip to content

Commit 647dfd0

Browse files
committed
Read encryption flag from variable in error message
1 parent a3d3b60 commit 647dfd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v1/internal/ch-websocket.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class WebSocketChannel {
5353
this._error = newError("The browser version of this driver only supports one trust " +
5454
"strategy, 'TRUST_CUSTOM_CA_SIGNED_CERTIFICATES'. "+opts.trust+" is not supported. Please " +
5555
"either use TRUST_CUSTOM_CA_SIGNED_CERTIFICATES or disable encryption by setting " +
56-
"`encrypted:\"ENCRYPTION_OFF\"` in the driver configuration.");
56+
"`encrypted:\"" + ENCRYPTION_OFF + "\"` in the driver configuration.");
5757
return;
5858
}
5959
}

0 commit comments

Comments
 (0)