daniel.widyanto
daniel.widyanto

Reputation: 1709

Trace HapiJS Unhandled Routes

Is there any way to trace URL that is GET-ed from my HapiJS server?

I have one or two "error not found" in my console (which refers to unhandled URL path). I'm quite sure it's the routes that I don't implement, coz I put console.log in every routing path that I made.

Thank you in advance

Upvotes: 0

Views: 51

Answers (1)

Adri Van Houdt
Adri Van Houdt

Reputation: 435

You can use something like https://github.com/hapijs/good and https://github.com/hapijs/good-console to log and output the calls to your server.

Upvotes: 1

Related Questions