mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-17 18:05:42 +02:00
fix: prevent datalake from error flood (#10521)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -298,7 +298,7 @@ export async function handleUploadFormData (
|
||||
} catch (err: any) {
|
||||
Analytics.handleError(err)
|
||||
const error = err instanceof Error ? err.message : String(err)
|
||||
ctx.error('failed to upload blob', { error: err })
|
||||
ctx.error('failed to upload blob', { error })
|
||||
return { key, error }
|
||||
} finally {
|
||||
if (data instanceof Readable) {
|
||||
|
||||
Reference in New Issue
Block a user