Skip to content

Commit

Permalink
improved error logging to find the reason why vercel upload doesnt work
Browse files Browse the repository at this point in the history
  • Loading branch information
admineral committed Sep 26, 2024
1 parent 076fbf9 commit 3cefd3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/hetzner/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { S3Client, PutObjectCommand } from '@aws-sdk/client-s3';
import { NextResponse } from 'next/server';

export async function POST(request: Request) {
console.log('Received upload request');
try {
console.log('Received upload request');
const formData = await request.formData();
const files = formData.getAll('file') as File[];

Expand Down

0 comments on commit 3cefd3f

Please sign in to comment.