From 4df56e41ca56e9361c2e323fa0d22223e983d122 Mon Sep 17 00:00:00 2001
From: Paul Kaplan <pkaplan@media.mit.edu>
Date: Thu, 20 Dec 2018 13:11:07 -0500
Subject: [PATCH] Include the action in the sentry report

---
 src/containers/error-boundary.jsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/containers/error-boundary.jsx b/src/containers/error-boundary.jsx
index cc34b87dd..4a2114a0f 100644
--- a/src/containers/error-boundary.jsx
+++ b/src/containers/error-boundary.jsx
@@ -42,6 +42,7 @@ class ErrorBoundary extends React.Component {
                     Object.keys(info).forEach(key => {
                         scope.setExtra(key, info[key]);
                     });
+                    scope.setExtra('action', this.props.action);
                     window.Sentry.captureException(error);
                 });
             }
-- 
GitLab