implements sentry support, fixes #337
add missing newline
Merge pull request #340 from gandalfar/patch-337

implements sentry support