Skip to content

Commit

Permalink
add more verbose error message when email address is wrong (share by …
Browse files Browse the repository at this point in the history
…link)
  • Loading branch information
moscicki committed Sep 30, 2015
1 parent 90d8f19 commit b7edca2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/ajax/share.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
} else {
OCP\JSON::error(array(
'data' => array(
'message' => $l->t("Couldn't send mail to following users: %s ",
'message' => $l->t("Couldn't send mail to following users: %s. Check if email address is correct.",
implode(', ', $result)
)
)
Expand Down Expand Up @@ -157,7 +157,7 @@
$l = \OC::$server->getL10N('core');
OCP\JSON::error(array(
'data' => array(
'message' => $l->t("Couldn't send mail to following users: %s ",
'message' => $l->t("Couldn't send mail to following users: %s. Check if email address is correct. ",
implode(', ', $result)
)
)
Expand Down

0 comments on commit b7edca2

Please sign in to comment.