diff --git a/README.md b/README.md index b76484b..83af47d 100644 --- a/README.md +++ b/README.md @@ -129,6 +129,10 @@ window.hawk = new HawkCatcher({ }) ``` +## Dismiss error + +You can use the `beforeSend()` hook to prevent sending a particular event. Return `false` for that. + ## Integrate to Vue application Vue apps have their own error handler, so if you want to catcher errors thrown inside Vue components, you should set up a Vue integration. diff --git a/example/index.html b/example/index.html index a4ad7b8..3440021 100644 --- a/example/index.html +++ b/example/index.html @@ -152,7 +152,7 @@