Commit 644f8819 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

restore handling exception for project creation

parent d138b3de
......@@ -49,8 +49,8 @@ module Projects
end
@project
#rescue => ex
#@project.errors.add(:base, "Can't save project. Please try again later")
rescue => ex
@project.errors.add(:base, "Can't save project. Please try again later")
@project
end
......
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