Skip to content

Commit 4a93b53

Browse files
Minor: add logging information on Execute() response not successful
1 parent 3aae940 commit 4a93b53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/scheduling/execution.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func Execute(cont *container.Container, r *scheduledRequest, isWarm bool) (funct
5555
if !response.Success {
5656
// notify scheduler
5757
completions <- &completionNotification{fun: r.Fun, cont: cont, executionReport: nil}
58-
return function.ExecutionReport{}, fmt.Errorf("Function execution failed")
58+
return function.ExecutionReport{}, fmt.Errorf("[%s] Function execution failed %v", r, cont.ID)
5959
}
6060

6161
report := function.ExecutionReport{Result: response.Result,

0 commit comments

Comments
 (0)