azavea / ism-watershed-wellness-snapshot

A tool to collect and display watershed wellness indicators for the International Seaport Museum
1 stars 2 forks source link

Add Rollbar #33

Closed caseycesari closed 5 years ago

caseycesari commented 5 years ago

Overview

Add client-side error reporting via Rollbar.

Unlike other projects, we can't get access to source maps because the Webpack config can't be edited with CRA.

The Netlify-provided env vars that add context to Rollbar errors needed to be renamed from VAR_NAME to REACT_APP_VAR_NAME in the build script to make them available to the app.

Connects #29

Demo

image

Testing Instructions

caseycesari commented 5 years ago

Thanks!