Skip to content

Commit 4372f9c

Browse files
committed
add error message
1 parent f66f97c commit 4372f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/pythonBuild.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func runPythonBuild(config *pythonBuildOptions, telemetryData *telemetry.CustomD
6464
// check project descriptor
6565
buildDescriptorFilePath, err := searchDescriptor([]string{"pyproject.toml", "setup.py"}, utils.FileExists)
6666
if err != nil {
67-
return err
67+
return fmt.Errorf("failed to determine build descriptor file: %w", err)
6868
}
6969

7070
if strings.HasSuffix(buildDescriptorFilePath, "pyproject.toml") {

0 commit comments

Comments
 (0)