mirror of https://github.com/Y2Z/monolith
add ADR 7 (Network errors)
parent
38a6f963ad
commit
7a97291498
@ -0,0 +1,19 @@
|
|||||||
|
# 7. Network errors
|
||||||
|
|
||||||
|
Date: 2020-11-22
|
||||||
|
|
||||||
|
## Status
|
||||||
|
|
||||||
|
Accepted
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
Servers may return information with HTTP response codes other than `200`, however those responses may still contain useful data.
|
||||||
|
|
||||||
|
## Decision
|
||||||
|
|
||||||
|
Fail by default, notifying of the network error. Add option to continue retrieving assets by treating all response codes as `200`.
|
||||||
|
|
||||||
|
## Consequences
|
||||||
|
|
||||||
|
Monolith will fail to obtain resources with status other than `200`, unless told to ignore network errors.
|
Loading…
Reference in New Issue