react: throw error on sendToHq failing

This commit is contained in:
Matthias Nannt
2022-12-14 13:38:54 +01:00
parent fbfc1acd61
commit a4d21222a6
+1
View File
@@ -35,5 +35,6 @@ export const sendToHq = async ({ submission, schema }: sendToHqProps) => {
]);
} catch (e) {
console.error(`🧱 FormBricks: Unable to send submission to Formbricks HQ. Error: ${e}`);
throw e;
}
};