Commit 947d9df6 authored by http://jneen.net/'s avatar http://jneen.net/ Committed by Felipe Artur

bail early if there's no suitable project

(also if service_desk_enabled is off)
parent 0def8784
......@@ -11,6 +11,7 @@ module Gitlab
def execute
raise EmailUnparsableError if from_address.blank?
raise ProjectNotFound if project.nil?
create_issue!
send_thank_you_email!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment