Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc0a7d75

Browse files
committed
Wrap error
1 parentefc63c3 commitc0a7d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎agent/agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ func (a *agent) handleSSHSession(session ssh.Session) error {
380380
ifssh.AgentRequested(session) {
381381
l,err:=ssh.NewAgentListener()
382382
iferr!=nil {
383-
returnxerrors.Errorf("new agent listener:",err)
383+
returnxerrors.Errorf("new agent listener: %w",err)
384384
}
385385
deferl.Close()
386386
gossh.ForwardAgentConnections(l,session)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp