Skip to content

Commit

Permalink
Merge pull request #1879 from gmacmaster/fix/sqlite-method-error
Browse files Browse the repository at this point in the history
Update sqlite makeDispatcher to show correct method name in error
  • Loading branch information
radex authored Jan 22, 2025
2 parents 65f87ae + aade505 commit c3be149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/sqlite/makeDispatcher/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class SqliteJsiDispatcher implements SqliteDispatcher {
const method = this._db[methodName]
if (!method) {
throw new Error(
`Cannot run database method ${method} because database failed to open. Hint: Did you install JSI correctly? This happens if you forgot to configure Proguard correctly ${Object.keys(
`Cannot run database method ${methodName} because database failed to open. Hint: Did you install JSI correctly? This happens if you forgot to configure Proguard correctly ${Object.keys(
this._db,
).join(',')}`,
)
Expand Down

0 comments on commit c3be149

Please sign in to comment.