public function checkLogo(sfValidatorBase $validator, $values)
 {
     if (!$values['company_logo']) {
         return $values;
     }
     $logoObject = $values['company_logo'];
     try {
         $logoObject->canSave();
     } catch (Exception $e) {
         $validator->setMessage('invalid', $validator->getMessage('invalid') . ': ' . $e->getMessage());
         throw new sfValidatorError($validator, 'invalid');
     }
     return $values;
 }