File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
core/src/jvmMain/kotlin/com/powersync Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package com.powersync
2
2
3
3
import androidx.sqlite.SQLiteConnection
4
4
import androidx.sqlite.driver.bundled.BundledSQLiteDriver
5
+ import com.powersync.db.runWrapped
5
6
6
7
@Suppress(" EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING" , " SqlNoDataSourceInspection" )
7
8
public actual class DatabaseDriverFactory {
@@ -21,5 +22,7 @@ public fun BundledSQLiteDriver.addPowerSyncExtension() {
21
22
22
23
private val powersyncExtension: String by lazy { extractLib(" powersync" ) }
23
24
25
+
24
26
@ExperimentalPowerSyncAPI
25
- public actual fun resolvePowerSyncLoadableExtensionPath (): String? = powersyncExtension
27
+ @Throws(PowerSyncException ::class )
28
+ public actual fun resolvePowerSyncLoadableExtensionPath (): String? = runWrapped { powersyncExtension }
You can’t perform that action at this time.
0 commit comments