From 1a01ae820a6c0bbb2a84bad3e97137def61929a8 Mon Sep 17 00:00:00 2001 From: Samuel Lippert Date: Fri, 12 Aug 2022 14:58:16 -0500 Subject: [PATCH] Call setUSer --- deno_test/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deno_test/index.test.ts b/deno_test/index.test.ts index 860e8854..64960be5 100644 --- a/deno_test/index.test.ts +++ b/deno_test/index.test.ts @@ -20,7 +20,7 @@ Deno.test('Sentry Middleware', async () => { app.use( '/sentry/*', sentry(undefined, (sentry) => { - sentry.captureMessage('foo') + sentry.setUser({ id: 'test' }) }) ) app.get('/sentry/foo', (c) => c.text('foo'))