Commit de9b235
Initialize ojdbc_jars before require so LoadError rescue never crashes
If require "java" or require "jruby" raises LoadError, the rescue
block below previously referenced the unbound local ojdbc_jars and
would itself raise NameError, masking the original error. Hoist the
empty-array initialization above the begin so the rescue path always
has a safe value to interpolate.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 584e78a commit de9b235
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | | - | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments