DefaultServerMonitor catches Throwable and discards without logging

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Minor - P4
    • None
    • Affects Version/s: 3.6.1
    • Component/s: Monitoring
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This code ought to at least log subclasses of Error (OOMEs in particular). Without doing so, there is no way to know that the JVM "got sick" when executing this thread. Even though the thread itself likely (I didn't evaluate the control paths) continues to behave correctly, I like to know if my JVMs are having issues.

      } catch (Throwable t) {
         averageRoundTripTime.reset();
         currentServerDescription = getConnectingServerDescription(t);
      }
      

              Assignee:
              Unassigned
              Reporter:
              Steve Shabino
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: