Page MenuHomePhabricator

Fix ApiUpload::dieUsage error reporting
Closed, DuplicatePublic

Description

Migrated from: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/945

Narrative

Make sure that the specific error message thrown by ApiUpload::dieUsage gets logged somewhere. Currently we only log a generic message derived from the API error code, so e.g. all the dozen different UploadStashException subclasses are reported with the same message.

Acceptance Criteria

Related Bugs

Related Stories

Related Changesets