Skip to content

Commit 45875dc

Browse files
committed
Check for ObjectScript errors too
1 parent dbbe026 commit 45875dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cls/SourceControl/Git/Utils.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ ClassMethod Pull(remote As %String = "origin", pTerminateOnError As %Boolean=0)
626626
do errStream.OutputToDevice()
627627
write !, "Pull ran with return code: " _ returnCode
628628
set err = errStream.Read()
629-
if ($find(err,"error") || $find(err, "fatal")) && pTerminateOnError {
629+
if ($find(err,"error") || $find(err, "fatal") || $find(err, "ERROR")) && pTerminateOnError {
630630
quit $$$ERROR($$$GeneralError, err)
631631
}
632632
quit $$$OK

0 commit comments

Comments
 (0)