SSWConsulting / SSWConsulting/SSW.Website

🚨 App Insights - Exceptions not being logged

Open
#1,253 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
14
Forks
10
Avg merge
13h 51m
Merged PRs (30d)
38

Description

https://github.com/SSWConsulting/SSW.Website/blob/c401a949dfc746e7fdc06108e83ea8c4d023999b/pages/api/get-livestream-banner.ts#L51-L55

We are logging exceptions but they are not appearing on App Insights. Requests are appearing.

Originally posted by @bradystroud in https://github.com/SSWConsulting/SSW.Website/issues/1235#issuecomment-1681621008

### Tasks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with pages/api/get-livestream-banner.ts at lines 51-55 and inspect how exceptions are sent to App Insights, comparing that path with the request logging that already appears. Reproduce the failing request and verify that its exception is visible in App Insights while requests continue to be logged.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, nextjs, typescript
Domain
api, backend, observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.