Skip to content
Snippets Groups Projects

Issue #3371949: Log exceptions

Merged Malcolm Young requested to merge issue/twilio-3371949:8.x-3.x into 8.x-3.x
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -105,6 +105,7 @@ class TwilioAdminTestForm extends FormBase {
$this->messenger()->addStatus($this->t('Attempted to send SMS message. Check your receiving device.'));
}
catch (\Exception $e) {
$this->logger('twilio')->error($e->getMessage());
$this->messenger()->addError($this->t('An error occurred while attempting to send the SMS message. Please try again later.'));
}
}
Loading