Check if file exists and is readable early
Instead of returning an unspecific error later, when ThumbCreator::create fails due to a nonexisting or unreadable file, immediately error out.
Showing
Please register or sign in to comment
Instead of returning an unspecific error later, when ThumbCreator::create fails due to a nonexisting or unreadable file, immediately error out.