unneeded ?

This commit is contained in:
Bruno Windels 2021-05-05 16:03:17 +02:00
parent bcfc4d1fd7
commit 12da71f731

View File

@ -42,7 +42,7 @@ export class IDBError extends StorageError {
export class IDBRequestError extends IDBError { export class IDBRequestError extends IDBError {
constructor(request, message = "IDBRequest failed") { constructor(request, message = "IDBRequest failed") {
const source = request?.source; const source = request.source;
const cause = request.error; const cause = request.error;
super(message, source, cause); super(message, source, cause);
} }