mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 13:36:05 +08:00

Back in d0e1c222f75b120ddc763db5e2443bcbfa0ded70 we added performance measuring for uppy uploads using the Performance API in the browser. However we recently discovered that sometimes performance.measure can fail if for whatever reason one of the marks passed to it does not exist: > Failed to upload ... Performance.measure: Given mark name, upload-uppy-....-create-multipart-success, is unknown This would cause the entire upload to fail, which is unnecessary for a debugger. Improve the situation so if this happens again the error does not stop the upload.