diff options
| author | Daniel Micay <daniel.micay@grapheneos.org> | 2024-11-28 18:11:46 -0500 |
|---|---|---|
| committer | Daniel Micay <daniel.micay@grapheneos.org> | 2024-11-28 18:11:46 -0500 |
| commit | 39eca997e78f48687d021a322a484f646b47898b (patch) | |
| tree | 8044c6e2c9c5201a12416e20c3f236545436ab64 /static/js/web-install.js | |
| parent | e352396c778339060451ffac50ae8b1fd08c72b9 (diff) | |
use optional catch binding syntax
Diffstat (limited to 'static/js/web-install.js')
| -rw-r--r-- | static/js/web-install.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/web-install.js b/static/js/web-install.js index 0f8353b2..9369ad40 100644 --- a/static/js/web-install.js +++ b/static/js/web-install.js @@ -125,7 +125,7 @@ class BlobStore { this.db.transaction("files").objectStore("files").get(name) ); return obj.blob; - } catch (error) { + } catch { return null; } } |
