feat(MED-131): improve logging, error validation

This commit is contained in:
2025-08-04 16:26:26 +03:00
parent 58e2b8dc81
commit 36816cfcd5
3 changed files with 26 additions and 5 deletions

View File

@@ -100,6 +100,7 @@ const handleOrderToken = async (orderToken: string) => {
analysisPackageName: analysisPackageOrderItem?.title ?? '',
};
} catch (error) {
console.error("Failed to place order", error);
throw new Error(`Failed to place order, message=${error}`);
}
}