Commit acb5a56
committed
Catch database errors also on schema initialization
In case any database error occurs on opening the connection and
initializing the schema, catch the error and throw it properly.
For instance, this can happen if the database is locked on opening.1 parent ef682aa commit acb5a56
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
| |||
0 commit comments