use optional catch binding syntax
This commit is contained in:
parent
e352396c77
commit
39eca997e7
@ -125,7 +125,7 @@ class BlobStore {
|
||||
this.db.transaction("files").objectStore("files").get(name)
|
||||
);
|
||||
return obj.blob;
|
||||
} catch (error) {
|
||||
} catch {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user