Logging: Server.ts fetch
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m36s

This commit is contained in:
2026-06-04 14:23:41 +02:00
parent d3bb5c2be1
commit a85950d6ef

View File

@@ -5,6 +5,14 @@ globalThis.Response = FastResponse;
export default createServerEntry({
fetch(request) {
return handler.fetch(request)
console.log("==> Server entry fetch start:", request.method, request.url);
try {
const res = handler.fetch(request);
console.log("<== Server entry fetch sync return:", res);
return res;
} catch (e) {
console.error("<== Server entry fetch sync throw:", e);
throw e;
}
},
})