File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
hivemq-edge/src/main/java/com/hivemq/protocols Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ public ProtocolAdapterWrapper(
151151 .thenCompose (Function .identity ())
152152 .handle ((ignored , error ) -> {
153153 if (error != null ) {
154+ log .error ("Error starting adapter" , error );
154155 stopAfterFailedStart ();
155156 protocolAdapterState .setRuntimeStatus (ProtocolAdapterState .RuntimeStatus .STOPPED );
156157 //we still return the initial error since that's the most significant information
@@ -182,6 +183,7 @@ public ProtocolAdapterWrapper(
182183 }
183184
184185 private void stopAfterFailedStart () {
186+ log .warn ("Stopping adapter with id {} after a failed start" , adapter .getId ());
185187 final var stopInput = new ProtocolAdapterStopInputImpl ();
186188 final var stopOutput = new ProtocolAdapterStopOutputImpl ();
187189 stopPolling (protocolAdapterPollingService );
You can’t perform that action at this time.
0 commit comments