File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
java/src/org/openqa/selenium/events/zeromq Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 27
27
import org .openqa .selenium .grid .security .Secret ;
28
28
import org .openqa .selenium .internal .Require ;
29
29
import org .openqa .selenium .json .Json ;
30
+ import org .openqa .selenium .json .JsonException ;
30
31
import org .openqa .selenium .json .JsonOutput ;
31
32
import org .zeromq .SocketType ;
32
33
import org .zeromq .ZContext ;
@@ -256,6 +257,9 @@ public void run() {
256
257
} catch (Exception e ) {
257
258
if (e .getCause () instanceof AssertionError ) {
258
259
// Do nothing.
260
+ } else if (e instanceof JsonException ) {
261
+ LOG .log (Level .WARNING , e , () -> "Caught exception while parsing for event bus messages: "
262
+ + e .getMessage ());
259
263
} else {
260
264
LOG .log (Level .WARNING , e , () -> "Caught exception while polling for event bus messages: "
261
265
+ e .getMessage ());
You can’t perform that action at this time.
0 commit comments