about summary refs log tree commit diff
path: root/submitqueue/runner.go
diff options
context:
space:
mode:
Diffstat (limited to 'submitqueue/runner.go')
-rw-r--r--submitqueue/runner.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/submitqueue/runner.go b/submitqueue/runner.go
index d85467b63d5d..63c3628f3d0c 100644
--- a/submitqueue/runner.go
+++ b/submitqueue/runner.go
@@ -92,7 +92,10 @@ func (r *Runner) Trigger(fetchOnly bool) error {
 	}
 
 	// Prepare the work by creating a local cache of gerrit state
-	r.gerrit.Refresh()
+	err := r.gerrit.Refresh()
+	if err != nil {
+		return err
+	}
 
 	// early return if we only want to fetch
 	if fetchOnly {