Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error handling for unsupported conversions #14

Open
dwojtaszek opened this issue Feb 5, 2025 · 1 comment
Open

Add error handling for unsupported conversions #14

dwojtaszek opened this issue Feb 5, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dwojtaszek
Copy link

Is your feature request related to a problem? Please describe.
I tried to conver from JPG to PDF using Reubah pulled from git on 2/15/2025, when clicked Process Image nothing happened.
The container log has:

`>2025/02/05 10:24:15 Processing file: Resized_20250204_124059_1738748391601.jpg.jpeg, size: 24218 bytes

2025/02/05 10:24:15 Source format:

2025/02/05 10:24:15 Successfully decoded image as jpeg

2025/02/05 10:24:15 Error writing response: unsupported format: pdf

2025/02/05 10:24:15 POST /process 7.058447ms

2025/02/05 10:24:17 GET / 91.592µs

2025/02/05 10:24:21 Processing file: Resized_20250204_124059_1738748391601.jpg.jpeg, size: 24218 bytes

2025/02/05 10:24:21 Source format:

2025/02/05 10:24:21 Successfully decoded image as jpeg

2025/02/05 10:24:21 Error writing response: unsupported format: heic`

Describe the solution you'd like
An error popup to the user on the frontend or disabled unsupported formats on the dropdown list.

Describe alternatives you've considered
None

Additional context
This is user interface improvement.

@dendianugerah
Copy link
Owner

Hi, thanks for reporting this issue! It seems related to the last PR. I’ll look into it and push a fix soon

Adding an error popup or disabling unsupported formats in the dropdown makes sense—I’ll consider that as well. I’ll update you once it’s resolved

Thanks again!

@dendianugerah dendianugerah self-assigned this Feb 12, 2025
@dendianugerah dendianugerah added the bug Something isn't working label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants