diff --git a/restream/restream.go b/restream/restream.go index 3eaf5cdb..7a66eafa 100644 --- a/restream/restream.go +++ b/restream/restream.go @@ -1059,7 +1059,7 @@ func (r *restream) GetProcessState(id string) (*app.State, error) { } if !task.valid { - return state, fmt.Errorf("invalid process definition") + return state, nil } status := task.ffmpeg.Status() @@ -1120,7 +1120,7 @@ func (r *restream) GetProcessLog(id string) (*app.Log, error) { } if !task.valid { - return &app.Log{}, fmt.Errorf("invalid process definition") + return &app.Log{}, nil } log := &app.Log{}