forked from mystiq/hydrogen-web
also do this in try catch
This commit is contained in:
parent
4d23529b68
commit
07fcf7e75b
1 changed files with 4 additions and 4 deletions
|
@ -35,11 +35,11 @@ class QueryTargetWrapper {
|
|||
}
|
||||
|
||||
openKeyCursor(...params) {
|
||||
try {
|
||||
// not supported on Edge 15
|
||||
if (!this._qt.openKeyCursor) {
|
||||
return this.openCursor(...params);
|
||||
}
|
||||
try {
|
||||
return this._qt.openKeyCursor(...params);
|
||||
} catch(err) {
|
||||
throw new IDBRequestAttemptError("openKeyCursor", this._qt, err, params);
|
||||
|
|
Loading…
Reference in a new issue