We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NotFoundError
onAfterResponse
{ "dependencies": { "elysia": "1.1.3", "@bogeychan/elysia-logger": "0.1.1" } }
import { Elysia } from "elysia"; import { logger } from "@bogeychan/elysia-logger"; new Elysia() .use(logger()) .get("/", () => "yay") .listen(8080);
Open http://localhost:8080/notFound in your browser
having 2 log entries in console
only 1
blocked by elysiajs/elysia#713
The text was updated successfully, but these errors were encountered:
I think you need Elysia v1.1
Sorry, something went wrong.
@omarkhatibco, I already tried it on elysia 1.1.3 but it doesn't work:
1.1.3
elysia-logger/tests/error.test.ts
Line 68 in 6d9cbe4
onResponse
@bogeychan my bad, I just noticed you are the author 🙈
I saw you updating the logger 2 days ago and thought to helping you with this issue, did not know it's you
but thank you for the logger
all good, I sometimes forget stuff too 😅
There is an issue on elysia's side blocking the progress of this issue (it is mentioned under additional information).
If you need this second 'not found’ log entry, use new Elysia({ aot: false }) as a workaround.
new Elysia({ aot: false })
No branches or pull requests
What versions are running?
What steps can reproduce the bug?
Open http://localhost:8080/notFound in your browser
What is the expected behavior?
having 2 log entries in console
What do you see instead?
only 1
Additional information
blocked by elysiajs/elysia#713
The text was updated successfully, but these errors were encountered: