You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
Coming from lapwat/papeer#12
Is it possible to just log a warning instead of returning an error?
In my particular case, there seems to be a broken img link that is halting the whole process, I really don't care if a single image is not downloaded so I would still like for the process to continue.
The text was updated successfully, but these errors were encountered:
Yes, this library needs to handle errors better. We have an open issue to improve error handling (#49) but that's for returning an error instead of using panic.
This seems like a feature request to disable the validation altogether so an error isn't thrown. I like the idea to have that as an option.
possible to just log a warning instead of returning an error?
@gbogarinb can you please give a code example that get you in trouble?
as i see if you use addMedia(or similar method) it can return error if it field and you can handle that yourself to log that. as i see you don't use writeMedia directly.
please review #67
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Coming from lapwat/papeer#12
Is it possible to just log a warning instead of returning an error?
In my particular case, there seems to be a broken img link that is halting the whole process, I really don't care if a single image is not downloaded so I would still like for the process to continue.
The text was updated successfully, but these errors were encountered: