ensure http errors reject promises
This commit is contained in:
parent
ea0b661b79
commit
b9cdd940bc
4 changed files with 18 additions and 19 deletions
|
|
@ -14,6 +14,7 @@
|
|||
- Throwing exceptions within `m.request` now follow the same resolution procedure as `m.deferred` [#86](https://github.com/lhorie/mithril.js/issues/85)
|
||||
- Promises now always update their `m.prop` on success (and leave the m.prop alone on error)
|
||||
- Nested arrays no longer cause double removal of elements [#87](https://github.com/lhorie/mithril.js/issues/87)
|
||||
- HTTP error codes now correctly reject promises
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue