diff --git a/src/workerd/api/hibernatable-web-socket.c++ b/src/workerd/api/hibernatable-web-socket.c++ index 151b5230262..3275af50d54 100644 --- a/src/workerd/api/hibernatable-web-socket.c++ +++ b/src/workerd/api/hibernatable-web-socket.c++ @@ -73,7 +73,7 @@ kj::Promise HibernatableWebSocketCustomEve auto eventParameters = consumeParams(); - KJ_IF_MAYBE(t, incomingRequest->getWorkerTracer()) { + KJ_IF_SOME(t, incomingRequest->getWorkerTracer()) { Trace::HibernatableWebSocketEventInfo::Type type = [&]() -> Trace::HibernatableWebSocketEventInfo::Type { KJ_SWITCH_ONEOF(eventParameters.eventType) { @@ -96,7 +96,7 @@ kj::Promise HibernatableWebSocketCustomEve KJ_UNREACHABLE; }(); - t->setEventInfo(context.now(), + t.setEventInfo(context.now(), Trace::HibernatableWebSocketEventInfo(kj::mv(type)) ); }