Skip to content

Commit 57ea9af

Browse files
committed
return errMsg also
1 parent fc92a6b commit 57ea9af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/git/Watcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ func (impl GitWatcherImpl) pollGitMaterialAndNotify(material *sql.GitMaterial) (
222222
}
223223
}
224224
} else {
225-
return "", err
225+
return errMsg, err
226226
}
227227
}
228228
if !updated {

0 commit comments

Comments
 (0)