Skip to content

getSignedAndUploadToS3 is not catching exceptions occurred in getSignedURL #319

Open
@dariaedicas

Description

@dariaedicas

hi. we've noticed that if our endpoint that makes presigned url returns error (500 or 502), vue2Dropzone plugin crashes with exception
vue2Dropzone.js?2af3:185 Uncaught TypeError: Cannot convert undefined or null to object
at Function.keys ()
at Dropzone.eval (vue2Dropzone.js?2af3:185)

steps to reproduce:

  1. raise an error in "signingURL" endpoint
  2. try to upload a file to AWS S3

actual behavior: unhandled JS exception

expected behavior: event vdropzone-error OR vdropzone-s3-upload-error emitted

thanks

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions