Commit 6bb5f16
authored
Return InvokeResponse when handling exception (#52)
Reraising the exception instead of returning InvokeResponse here will
cause the plugin-controller to raise a pydantic validation error for the
plugin response and as a result, the plugin error info will not be shown
to the user.1 parent 1415299 commit 6bb5f16
File tree
2 files changed
+9
-2
lines changed- unstructured_platform_plugins
- etl_uvicorn
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
216 | 223 | | |
217 | 224 | | |
218 | 225 | | |
| |||
0 commit comments