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

Commit88a594e

Browse files
authored
improve response/feedback loop with better error messages (#1414)
1 parente95d8ee commit88a594e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pkg/github/repositories.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ func GetFileContents(getClient GetClientFn, getRawClient raw.GetRawClientFn, t t
560560
),nil
561561
}
562562
iffileContent==nil||fileContent.SHA==nil {
563-
returnmcp.NewToolResultError("file content SHA is nil"),nil
563+
returnmcp.NewToolResultError("file content SHA is nil, if a directory was requested, path parameters should end with a trailing slash '/'"),nil
564564
}
565565
fileSHA=*fileContent.SHA
566566

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp