From f1b540f017b62779257d2a9ce1d3e96514ed0115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=B8vring?= Date: Thu, 24 Oct 2024 11:37:40 +0200 Subject: [PATCH] Removes error logging --- src/app/api/proxy/route.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/api/proxy/route.ts b/src/app/api/proxy/route.ts index 5d6b8c02..413c11b6 100644 --- a/src/app/api/proxy/route.ts +++ b/src/app/api/proxy/route.ts @@ -30,7 +30,6 @@ export async function GET(req: NextRequest) { const file = await downloadFile({ url, maxBytes, timeoutInSeconds }) return new NextResponse(file, { status: 200 }) } catch (error) { - console.log(error) if (error instanceof Error == false) { return makeAPIErrorResponse(500, "An unknown error occurred.") }