diff --git a/src/analytics.ts b/src/analytics.ts index 9cde53b..5bdcceb 100644 --- a/src/analytics.ts +++ b/src/analytics.ts @@ -35,6 +35,7 @@ function reportError(error: Error) { if (!IN_PRODUCTION_MODE) return return fetch( `${LOG_ENDPOINT}?${encodeParams({ + stack: error.stack, error: (error && error.message) || error, path: window.location.href, version,