sambecker / exif-photo-blog

Photo blog, reporting 🤓 EXIF camera details (aperture, shutter speed, ISO) for each image.
https://photos.sambecker.com
685 stars 108 forks source link

I encountered an issue when I tried to upload an image that was larger than 1.5MB in size. #31

Closed cigar closed 7 months ago

cigar commented 7 months ago

Application error: a server-side exception has occurred (see the server logs for more information). Digest: 813522268

sambecker commented 7 months ago

The app should accept files up to 40mb. Would you be able to share the image that didn't work?

sambecker commented 7 months ago

Or, if you're able, please post the server side error log.

sambecker commented 7 months ago

Closing this for now—LMK if you can provide any more detail to help debug.

cigar commented 7 months ago

B_2476 Hi @sambecker , could you download this image, and try to upload it to the app, and then you will see the the errors message like this below: Application error: a server-side exception has occurred (see the server logs for more information). Digest: 1328241451

Here is my log from the Vercel Logs RangeError: Invalid time value at Date.toISOString () at d (/var/task/.next/server/chunks/6332.js:177:4753) at h (/var/task/.next/server/chunks/6332.js:177:4820) at g (/var/task/.next/server/chunks/9097.js:1:4254) at s (/var/task/.next/server/chunks/9097.js:1:5751) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async d (/var/task/.next/server/app/admin/uploads/[uploadPath]/page.js:1:5923)