x/ref/syncbase/mojo_impl: Changing OnReturn to OnError since
watch call is long running and does not really return unless
there is an error and therefore OnError is a better name.

MultiPart: 1/2
Change-Id: I1a97841e391955959e61999b3c6a5f8be331b370
diff --git a/services/syncbase/server/mojo_impl.go b/services/syncbase/server/mojo_impl.go
index bbb57ae..409be72 100644
--- a/services/syncbase/server/mojo_impl.go
+++ b/services/syncbase/server/mojo_impl.go
@@ -408,7 +408,9 @@
 		// NOTE(nlacasse): Since we are already streaming, we send any error back
 		// to the client on the stream.  The WatchGlob function itself should not
 		// return an error at this point.
-		proxy.OnReturn(toMojoError(err))
+		// NOTE(aghassemi): WatchGlob call is long-running and does not return
+		// unless there is an error.
+		proxy.OnError(toMojoError(err))
 	}()
 
 	return mojom.Error{}, nil