adds a little error catching, so clients don't hang when they try to request images that don't exist