From 7e75ecd1abe8e51369f43a4d8a4060c752fdffd7 Mon Sep 17 00:00:00 2001 From: Bastien Dumont <bdumont@grandlyon.com> Date: Wed, 20 Mar 2024 13:56:01 +0100 Subject: [PATCH] publish: Merge branch 'tier-direct' into 'dev' generated from commit c369e5de92828d6962e317f35990743684d97b48 --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index cdf4e27..ff36782 100644 --- a/index.js +++ b/index.js @@ -265,6 +265,8 @@ async function start(fields, cozyParameters) { } catch (error) { log('error', 'Start failed', error) Sentry.captureException(error) + await Sentry.flush() + throw error } } -- GitLab