GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Node request info fills query_string from route params instead of the query string · Issue #204 · exceptionless/Exceptionless.JavaScript Open Labels DescriptionIn Where
What happens For { "path": "/users/42", "query_string": { "id": "42" } }Expected { "path": "/users/42", "query_string": { "search": "abc", "page": "2" } }Steps to reproduce Express 5, import express from "express"; import { Exceptionless, KnownEventDataKeys } from "@exceptionless/node"; await Exceptionless.startup("API_KEY"); const app = express(); app.get("/users/:id", async (req, res) => { const ctx = await Exceptionless.createLog("demo").setContextProperty(KnownEventDataKeys.RequestInfo, req).submit(); res.json(ctx.event.data["@request"]); }); app.listen(3000); // curl "http://localhost:3000/users/42?search=abc&page=2" Suggested fix Use ActivityMetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |