1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 05:16:41 +07:00

fixed error handling

This commit is contained in:
Fedor Katurov 2021-03-04 13:57:00 +07:00
parent b95d53791c
commit 0873e77ff4
5 changed files with 20 additions and 19 deletions

View file

@ -133,7 +133,7 @@ function* uploadFile({ file, temp_id, type, target, onSuccess, onFail }: IFileWi
return yield put(
uploadSetStatus(temp_id, {
is_uploading: false,
error,
error: error.message,
type,
})
);