Skip to content

Commit 87aabaf

Browse files
authored
fix(devtools-proxy-support): refer to correct features in error messages (#458)
Now that SSH forwarding can happen independently from Socks5 proxying, we should adjust the error messages so that they don't accidentally include 'red herring's, like mentioning SSH if the user isn't actually using SSH forwarding.
1 parent 7a5460a commit 87aabaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/devtools-proxy-support/src/logging.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export function hookLogger(
117117
'DEVTOOLS-PROXY',
118118
mongoLogId(1_001_000_259),
119119
`socks5-${logCtx}`,
120-
'Failed to establish new SSH connection',
120+
'Failed to establish new outgoing connection from Socks5 proxy',
121121
{ ...ev }
122122
);
123123
});
@@ -221,7 +221,7 @@ export function hookLogger(
221221
'DEVTOOLS-PROXY',
222222
mongoLogId(1_001_000_261),
223223
`ssh-${logCtx}`,
224-
'Error forwarding Socks5 request, retrying',
224+
'Error forwarding outbound SSH connection, potentially retrying',
225225
{
226226
...ev,
227227
}

0 commit comments

Comments
 (0)