From d7795ed4ff18094dabf131cf35fe7db1e4e8255e Mon Sep 17 00:00:00 2001 From: Justin Walters Date: Wed, 20 Dec 2023 17:53:42 -0500 Subject: [PATCH] Don't throw error when getting property data fails Throwing the error here prevents us from pre-populating the fields we can get from the page Also bump patch version --- package.json | 2 +- src/services/BoweryService.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 73bc919..3012b0f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bowery-chrome-extension", - "version": "2.5.0", + "version": "2.5.1", "description": "Chrome extension for Bowery appraisers using the Bowery Authorship Application.", "scripts": { "build": "node scripts/build.js", diff --git a/src/services/BoweryService.js b/src/services/BoweryService.js index bb06c79..fb404bf 100644 --- a/src/services/BoweryService.js +++ b/src/services/BoweryService.js @@ -107,7 +107,7 @@ class BoweryService { } catch (error) { // eslint-disable-next-line no-console console.log(error) - throw error + return {} } }