From 1b7c87b1a00a44071f258e645c8e9337c79ceb0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20M=C3=B3ricz?= Date: Thu, 4 Sep 2025 15:04:25 +0200 Subject: [PATCH] fix: --- apps/api/src/lib/error-serde.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/api/src/lib/error-serde.ts b/apps/api/src/lib/error-serde.ts index eb5d114d9..fabe2e04d 100644 --- a/apps/api/src/lib/error-serde.ts +++ b/apps/api/src/lib/error-serde.ts @@ -17,6 +17,7 @@ import { PDFPrefetchFailed, SiteError, SSLError, + ProxySelectionError, } from "../scraper/scrapeURL/error"; // TODO: figure out correct typing for this @@ -27,6 +28,7 @@ const errorMap: Record = { SCRAPE_ALL_ENGINES_FAILED: NoEnginesLeftError, SCRAPE_SSL_ERROR: SSLError, SCRAPE_SITE_ERROR: SiteError, + SCRAPE_PROXY_SELECTION_ERROR: ProxySelectionError, SCRAPE_PDF_PREFETCH_FAILED: PDFPrefetchFailed, SCRAPE_ZDR_VIOLATION_ERROR: ZDRViolationError, SCRAPE_DNS_RESOLUTION_ERROR: DNSResolutionError,