We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent6e8f235 commite79b01cCopy full SHA for e79b01c
agent/agentssh/jetbrainstrack.go
@@ -31,6 +31,7 @@ func NewJetbrainsChannelWatcher(ctx ssh.Context, logger slog.Logger, newChannel
31
d:=localForwardChannelData{}
32
iferr:=gossh.Unmarshal(newChannel.ExtraData(),&d);err!=nil {
33
// If the data fails to unmarshal, do nothing.
34
+logger.Warn(ctx,"failed to unmarshal port forward data",slog.Error(err))
35
returnnewChannel
36
}
37
@@ -43,9 +44,6 @@ func NewJetbrainsChannelWatcher(ctx ssh.Context, logger slog.Logger, newChannel
43
44
slog.Error(err))
45
46
-logger.Debug(ctx,"checking forwarded process",
47
-slog.F("cmdline",cmdline),
48
-slog.F("destination_port",d.DestPort))
49
50
// If this is not JetBrains, then we do not need to do anything special. We
51
// attempt to match on something that appears unique to JetBrains software and