Skip to content

Commit 0c98093

Browse files
authored
Fixed nil pointer
1 parent d94d23a commit 0c98093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/orchestrator/orchestrator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ func GetDefaultApp() (*parser.App, error) {
605605
defaultAppPath = bytes.TrimSpace(defaultAppPath)
606606
if len(defaultAppPath) == 0 {
607607
// If the file is empty, we remove it
608-
slog.Warn("default app file is empty", slog.String("path", string(defaultAppPath)), slog.String("error", err.Error()))
608+
slog.Warn("default app file is empty", slog.String("path", string(defaultAppPath)))
609609
_ = defaultAppFilePath.Remove()
610610
return nil, nil
611611
}

0 commit comments

Comments
 (0)