This repository was archived by the owner on Sep 5, 2019. It is now read-only.
Commit 91b0817
committed
Defined exception classes for 502, 503, and 504 responses
We've received a small number of these responses from Swiftype but, since they were raised as `UnexpectedHTTPException` errors, we weren't able to handle them specifically (for example, by waiting a period of time and then retrying the request). Instead, we could only handle them generically (as unexpected runtime errors).1 parent 9be4861 commit 91b0817
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
| |||
0 commit comments