Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit e8ac1e9

Browse files
committed
examples/stream: fix error handling
1 parent f38602f commit e8ac1e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/FirebaseStream_ESP8266/FirebaseStream_ESP8266.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void setup() {
4848

4949

5050
void loop() {
51-
if (!stream.error()) {
51+
if (stream.error()) {
5252
Serial.println("streaming error");
5353
Serial.println(stream.error().message());
5454
}

0 commit comments

Comments
 (0)