Commit 4a00f9c
authored
Add exception handlers to bootstrap python code (#1133)
## Changes
* Our bootstrap for python files (running using both workflows and
command execution API), is failing because Db connect does not support
jvm context and dbconnect is the default spark implementation from dbr
14.x.
* This PR adds exception handlers to maintain backwards compatibilty.
Fixes #1123
## Tests
<!-- How is this tested? -->1 parent e7f8e51 commit 4a00f9c
File tree
2 files changed
+13
-5
lines changed- packages/databricks-vscode/resources/python
2 files changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
0 commit comments