eclipse-paho / eclipse-paho/paho.mqtt.java

Exception should be throw form here after log so that it can be catch in caller method like publish

Open
#1,080 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
918
PR merge metrics
No merged PRs in 30d

Description

https://github.com/eclipse-paho/paho.mqtt.java/blob/9c742c1d83e71132452e08d325e5a90d1631c302/org.eclipse.paho.mqttv5.client/src/main/java/org/eclipse/paho/mqttv5/client/internal/CommsCallback.java#L638

Contributor guide

Open the contributing guide

Research direction

Start in org.eclipse.paho.mqttv5.client.internal/CommsCallback.java at line 638 and trace how the exception is handled after logging. Check the caller path for publish and determine the expected propagation behavior, then add or update focused tests showing that the caller can catch the exception after logging.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.