Handle create media errors more robustly
Handle create media errors more robustly

In some cases I have encountered errors that do not result in
`transaction.getError()` having a `.json` property.
meedan/check-web,meedan/check-web,meedan/check-web