Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hhund committed Oct 7, 2024
1 parent b2072d8 commit ef240cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ private void connectWebsocket(Subscription subscription)
{
try
{
WebsocketClient client = clientProvider.getLocalWebsocketClient(() -> connect(),
WebsocketClient client = clientProvider.getLocalWebsocketClient(this::connect,
subscription.getIdElement().getIdPart());

EventType eventType = toEventType(subscription.getChannel().getPayload());
Expand Down Expand Up @@ -260,7 +260,7 @@ private Void onError(Throwable t)
{
// no debug log, exception previously logged by retrieveWebsocketSubscription, loadNewResources and
// connectWebsocket methods
logger.error("Error while loading existing {} resources and connecting websocket: {} - {}", resourceName,
logger.error("Error loading existing {} resources and connecting websocket: {} - {}", resourceName,
t.getClass().getName(), t.getMessage());

return null;
Expand Down

0 comments on commit ef240cb

Please sign in to comment.