Cleaning up initialisation of Sentry.

Signed-off-by: Ben Corlett <bencorlett@me.com>