From 39eca997e78f48687d021a322a484f646b47898b Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 28 Nov 2024 18:11:46 -0500 Subject: [PATCH] use optional catch binding syntax --- static/js/web-install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }