Refactor monitoring package and improve error handling
The monitoring package has been significantly refactored to improve the granularity of error capture. Code from the 'capture-exception.ts' files in different locations have been deleted and replaced by a more unified approach in the 'use-baselime.ts' and 'use-sentry.ts' hooks. The README documentation has also been updated to reflect these changes and provide additional information about error monitoring setup and usage.
This commit is contained in:
@@ -20,6 +20,8 @@ import pathsConfig from '~/config/paths.config';
|
||||
import { withI18n } from '~/lib/i18n/with-i18n';
|
||||
|
||||
function Home() {
|
||||
throw new Error(`This is a test error`);
|
||||
|
||||
return (
|
||||
<div className={'mt-4 flex flex-col space-y-24 py-16'}>
|
||||
<div className={'container mx-auto flex flex-col space-y-20'}>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user