Skip to content

Commit

Permalink
Update error message to include the requested endpoint in app.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
PawanOsman committed Apr 10, 2024
1 parent 889b121 commit 282509c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ app.use((req, res) =>
res.status(404).send({
status: false,
error: {
message: `The requested endpoint was not found. please make sure to use "http://localhost:3040/v1" as the base URL.`,
message: `The requested endpoint (${req.method.toLocaleUpperCase()} ${req.path}) was not found. please make sure to use "http://localhost:3040/v1" as the base URL.`,
type: "invalid_request_error",
},
support: "https://discord.pawan.krd",
Expand Down

0 comments on commit 282509c

Please sign in to comment.