Commit b1c57da
authored
Improve the Local Baserow single row service's error handling. (baserow#4530)
* Improve the GetRow service's error handling, instead of raising DoesNotExist, use ServiceImproperlyConfiguredDispatchException like other services.
* Lint fix1 parent 5d3c90f commit b1c57da
File tree
4 files changed
+31
-11
lines changed- backend
- src/baserow
- contrib/integrations/local_baserow
- locale/en/LC_MESSAGES
- tests/baserow/contrib/integrations/local_baserow/service_types
- changelog/entries/unreleased/bug
4 files changed
+31
-11
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
1656 | 1657 | | |
1657 | 1658 | | |
1658 | 1659 | | |
| 1660 | + | |
1659 | 1661 | | |
1660 | 1662 | | |
1661 | 1663 | | |
| |||
1671 | 1673 | | |
1672 | 1674 | | |
1673 | 1675 | | |
1674 | | - | |
| 1676 | + | |
1675 | 1677 | | |
1676 | 1678 | | |
1677 | 1679 | | |
| |||
1686 | 1688 | | |
1687 | 1689 | | |
1688 | 1690 | | |
1689 | | - | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
1690 | 1694 | | |
1691 | 1695 | | |
1692 | 1696 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
224 | 232 | | |
225 | 233 | | |
226 | 234 | | |
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
257 | 256 | | |
258 | 257 | | |
259 | 258 | | |
260 | | - | |
| 259 | + | |
261 | 260 | | |
262 | 261 | | |
263 | 262 | | |
| |||
291 | 290 | | |
292 | 291 | | |
293 | 292 | | |
294 | | - | |
| 293 | + | |
295 | 294 | | |
296 | 295 | | |
297 | 296 | | |
| |||
422 | 421 | | |
423 | 422 | | |
424 | 423 | | |
425 | | - | |
| 424 | + | |
426 | 425 | | |
427 | 426 | | |
428 | 427 | | |
| |||
changelog/entries/unreleased/bug/improved_error_handling_in_the_local_baserow_single_table_ro.json
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments