mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-20 01:09:47 +00:00
Merge pull request #1840 from lbryio/speech-error-msg
Pass spee.ch error message
This commit is contained in:
commit
301fa156ca
2 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
||||||
* Add FAQ to Publishing Area ([#1833](https://github.com/lbryio/lbry-desktop/pull/1833))
|
* Add FAQ to Publishing Area ([#1833](https://github.com/lbryio/lbry-desktop/pull/1833))
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
* Pass error message from spee.ch API during thumbnail upload ([#1840](https://github.com/lbryio/lbry-desktop/pull/1840))
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,7 @@ export const doUploadThumbnail = (filePath: string, nsfw: boolean) => (dispatch:
|
||||||
thumbnail: `${json.data.url}${fileExt}`,
|
thumbnail: `${json.data.url}${fileExt}`,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
: uploadError('Upload failed')
|
: uploadError(json.message)
|
||||||
)
|
)
|
||||||
.catch(err => uploadError(err.message));
|
.catch(err => uploadError(err.message));
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue