Skip to content

Commit d84cbc9

Browse files
committed
[Functions] Actually return when processing an error
The old code use to throw, which stop any further processing. The change introduced later didn't, causing errors.
1 parent 9284381 commit d84cbc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

firebase-functions/src/main/java/com/google/firebase/functions/PublisherStream.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ internal class PublisherStream(
306306
null
307307
)
308308
)
309+
return
309310
}
310311

311312
val text = response.body()?.string() ?: ""

0 commit comments

Comments
 (0)