Commit 99a285f
authored
Add error handling to model requests (#19)
As found in #17 the error thrown when the model microservice is unreachable is unreadable and should be handled
Now instead of erroring confusingly then dying the error is posted on the console and the user is given a message to check thier microservice
This also does not kill the web app since the microservice can be started while the app is running and the app will then use it1 parent a03b0c0 commit 99a285f
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
0 commit comments