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

fix(REST API): Fix misleading REST API send_file error #107

Merged
merged 2 commits into from
Dec 31, 2023

Conversation

Slider0007
Copy link
Owner

@Slider0007 Slider0007 commented Dec 31, 2023

REST API handler_img_tmp: Fix misleading REST send_file error

  • Return img_tmp handler function if underlaying GetJPG function fails
  • After loading a JPG (e.g. alg_roi.jpg) from RAM fails for some reason, same filename was used to load file form SD card, but file is only available in RAM -> misleading error log

Stop further processing if underlaying GetJPG function fails
@Slider0007 Slider0007 changed the title fix(img_tmp handler): Fix misleading REST send_file error fix(REST API): Fix misleading REST API send_file error Dec 31, 2023
@Slider0007 Slider0007 merged commit 5112ce4 into develop Dec 31, 2023
@Slider0007 Slider0007 deleted the fix-alg-roi-send-error branch December 31, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant