add ADR 7 (Network errors)
This commit is contained in:
parent
38a6f963ad
commit
7a97291498
@ -1,4 +1,4 @@
|
|||||||
# 2. Network request timeout
|
# 3. Network request timeout
|
||||||
|
|
||||||
Date: 2020-02-15
|
Date: 2020-02-15
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# 4. Asset Minimization
|
# 5. Asset Minimization
|
||||||
|
|
||||||
Date: 2020-03-14
|
Date: 2020-03-14
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# 4. Reload and location `meta` tags
|
# 6. Reload and location `meta` tags
|
||||||
|
|
||||||
Date: 2020-06-25
|
Date: 2020-06-25
|
||||||
|
|
||||||
|
19
docs/arch/0007-network-errors.md
Normal file
19
docs/arch/0007-network-errors.md
Normal file
@ -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
Block a user