PHP Code Sniffer fixes

This commit is contained in:
Jens Schuppe 2024-03-25 15:49:01 +01:00
parent 4e072b416a
commit 53745a3e07
4 changed files with 53 additions and 1 deletions

View file

@ -653,7 +653,8 @@ class CRM_Twingle_Form_Profile extends CRM_Core_Form {
elseif ($this->_op == 'delete') {
$this->profile->deleteProfile();
}
} catch (ProfileException $e) {
}
catch (ProfileException $e) {
Civi::log()->error($e->getLogMessage());
CRM_Core_Session::setStatus(
E::ts('Error'),