Skip to content

Commit

Permalink
Double dots on error message removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanboring committed Aug 27, 2024
1 parent 1c3d896 commit 8de0de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dxpr_cms_installer/src/Form/ConfigureAPIKeysForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public function validateForm(array &$form, FormStateInterface $form_state): void
try {
$this->validateAiProvider($provider, $form_state->getValue($key));
} catch (\Exception $e) {
$form_state->setErrorByName($key, $this->t('Your API key seems to be invalid with message %message.', [
$form_state->setErrorByName($key, $this->t('Your API key seems to be invalid with message %message', [
'%message' => $e->getMessage(),
]));
}
Expand Down

0 comments on commit 8de0de0

Please sign in to comment.