Skip to content

Commit 6f20f76

Browse files
committed
Fixing typo
1 parent dcab280 commit 6f20f76

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ThingsBoard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,8 +1396,10 @@ class ThingsBoardSized {
13961396

13971397
if (!connection_result) {
13981398
Logger::log(CONNECT_FAILED);
1399+
return connection_result;
13991400
}
14001401

1402+
// Only attempt to resubscribe if we connected successfully
14011403
Resubscribe_Topics();
14021404
return connection_result;
14031405
}

0 commit comments

Comments
 (0)