Commit 270eca6c authored by Alf Eaton's avatar Alf Eaton

Rethrow the caught error

parent a793cfa8
......@@ -34,7 +34,10 @@ export function htmlToEpub(bookId) {
opts
).then(
res => res.json().then(data => dispatch(htmlToEpubSuccess(data.path))),
err => dispatch(htmlToEpubFailure(err))
err => {
dispatch(htmlToEpubFailure(err))
throw err
}
)
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment