fix: keep shared http refactor in scope
This commit is contained in:
1 parent
6e50ebf901
commit
82e7abc057
2 files changed
+1
-4
No files matched your search
@@ -512,7 +512,7 @@ export default async function fetchEbayItems(
|
||||
return finalizeResults(filteredListings);
|
||||
} catch (err) {
|
||||
if (err instanceof HttpError) {
|
||||
logger.error(
|
||||
logger.warn(
|
||||
`Failed to fetch eBay search (${err.statusCode}): ${err.message}`,
|
||||
);
|
||||
return finalizeResults([]);
|
||||
|
||||
Reference in new issue
Block a user