When I started the project I wanted it to be graceful to errors. Now that I reach the first milestone, I feel that this lowest level part should be as verbose as possible and should throws error instead of trying to fallback gracefully.
This should be handled by the JavaScript front-end (ribs).
It should propose 2 modes:
debug: log everything, let invalid output images. This will be useful to debug invalid parameters that may lead to unwanted results.
production, log less, always try to fallback to valid output images. If invalid REST parameters are passed, the generated image should still be displayable on the website. ribs would provide a way to trap those errors for logging purposes or special treatment purposes.
For now we have some error message disparities.
When I started the project I wanted it to be graceful to errors. Now that I reach the first milestone, I feel that this lowest level part should be as verbose as possible and should throws error instead of trying to fallback gracefully.
This should be handled by the JavaScript front-end (
ribs
). It should propose 2 modes:ribs
would provide a way to trap those errors for logging purposes or special treatment purposes.