File tree Expand file tree Collapse file tree
utils/Canary/src/main/java/canary/mqtt5 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -525,13 +525,11 @@ public static void OperationUnsubscribe(int clientIdx) {
525525 UnsubscribePacketBuilder unsubscribePacketBuilder = new UnsubscribePacketBuilder ();
526526 unsubscribePacketBuilder .withSubscription (clientsData .get (clientIdx ).clientId );
527527 unsubscribePacketBuilder .withSubscription (clientsData .get (clientIdx ).sharedTopic );
528- try {
529- client .unsubscribe (unsubscribePacketBuilder .build ());
530- // PrintLog("[OP] Unsubscribe had an exception! Exception: " + ex);
531- ex .printStackTrace ();
532- if (configFilePrinter != null ) {
533- ex .printStackTrace (configFilePrinter );
534- }
528+ client .unsubscribe (unsubscribePacketBuilder .build ());
529+ // PrintLog("[OP] Unsubscribe had an exception! Exception: " + ex);
530+ ex .printStackTrace ();
531+ if (configFilePrinter != null ) {
532+ ex .printStackTrace (configFilePrinter );
535533 }
536534 clientsData .get (clientIdx ).subscribedToTopics = false ;
537535 // PrintLog("[OP] Unsubscribed client ID " + clientIdx);
You can’t perform that action at this time.
0 commit comments