Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-05-21 19:46:27 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-05-21 19:46:27 +0300
commitc64cd113ccd16fa210f9ea2808deb044aadc8f61 (patch)
tree5cf61ae16d1dbd4066f9765afd157ff88f929f53 /lib/gitlab/email/handler/create_issue_handler.rb
parent75415663f84ac006c5a4d5a6896ece50c299c03e (diff)
Add ! for verify_record! because it could raise
Diffstat (limited to 'lib/gitlab/email/handler/create_issue_handler.rb')
-rw-r--r--lib/gitlab/email/handler/create_issue_handler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/email/handler/create_issue_handler.rb b/lib/gitlab/email/handler/create_issue_handler.rb
index 259d74a83bf..cba8f2b61f6 100644
--- a/lib/gitlab/email/handler/create_issue_handler.rb
+++ b/lib/gitlab/email/handler/create_issue_handler.rb
@@ -12,7 +12,7 @@ module Gitlab
def execute
validate_permission!(:create_issue)
- verify_record(
+ verify_record!(
create_issue,
InvalidIssueError,
"The issue could not be created for the following reasons:"