Self-contained sample of Sentry code