Commit 6b93586
authored
Improve error message when using non-optimized model serving endpoints. (#476)
## What changes are proposed in this pull request?
This PR improves error handling of the route-optimized query method to
return an actual error (instead of a NPE) when calling the method on a
non-optimized endpoint.
## How is this tested?
Unit + Integration tests.1 parent 660d785 commit 6b93586
2 files changed
Lines changed: 13 additions & 5 deletions
File tree
- databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
Lines changed: 10 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments