dvc.org icon indicating copy to clipboard operation
dvc.org copied to clipboard

Send a alert to Sentry when `/api` sends an error response

Open julieg18 opened this issue 4 years ago • 1 comments

  • Sentry gives us a way to do this with @sentry/gatsby(docs)
  • We could update src/utils/front/api.ts, sending a Sentry alert after every setError call. There may be more elegant ways of handling this though.

julieg18 avatar Jul 07 '21 19:07 julieg18

We can directly log from the API themselves using @sentry/node

yathomasi avatar Apr 28 '22 10:04 yathomasi