Handle errors on hotlink image upload

The posts pre method to handle image processing has been updated with an
error handler to handle the case where the hotlinked url does not exist
or fails. As of right now, all it does is catch the error and prints it
to the logs.