mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 17:53:10 +08:00

This commit allows for measuring the time taken for individual uploads via the new uppy interfaces, only if the enable_upload_debug_mode site setting is enabled. Also in this PR, for upload errors with a specific message locally, we return the real message to show in the modal instead of the upload.failed message so the developer does not have to dig around in logs.