What kind of error would sentry report?

when i choose angular1 and inset these code in my project:
bar();
alert(error);
throw new Error(‘new Error’);

sentry did not report anything,please help!

is that i must report the error info by myself,such as:
try {
doSomething(a[0])
} catch(e) {
Raven.captureException(e)
Raven.showReportDialog();
}

Assuming you followed the instructions here, it should catch all uncaught exceptions.

If you’re not seeing that, would you mind putting up a JSBin or Gist of your initialization code?

https://github.com/vopjie/angular-seed-sentry

here is a example by use angular-seed,would you be kind to fork and try it:

npm i
npm start

then open http://localhost:8000/

it did not report error automatically,but when i report the error by myself,it works.

at first,i was used CDN for Installation, it does not work.
now, when i use Module loaders for Installation, it work fine.

but i still have some problem, i can’t receive any emails,what should i do.

i have edit the file:‘config.yml’
###############

Mail Server

###############

mail.backend: ‘smtp’ # Use dummy if you want to disable email entirely
mail.host: 'localhost’
mail.port: 25
mail.username: 'username’
mail.password: 'password’
mail.use-tls: false

The email address to send on behalf of

mail.from: ‘root@localhost’

and restart all the serve,but still does not work. my localhost page(http://localhost:9000/manage/status/mail/) still show not setup username and password. and can not send test email.