[ckan-changes] [ckan/ckan] a80974: [#3077] Catch mailer exceptions on user invite

GitHub noreply at github.com
Wed Jun 1 11:34:27 UTC 2016


  Branch: refs/heads/3077-exceptions-user-invite
  Home:   https://github.com/ckan/ckan
  Commit: a8097478f67f2085bfa77115eaf198f4f4bc7e75
      https://github.com/ckan/ckan/commit/a8097478f67f2085bfa77115eaf198f4f4bc7e75
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/tests/logic/action/test_create.py

  Log Message:
  -----------
  [#3077] Catch mailer exceptions on user invite

Rather than returning a 500 error, return a ValidationError with the
SMTP error, and delete the pending user.




More information about the ckan-changes mailing list