Commit 644f8819af5d06deedb4420e8ad45637b96c9676
1 parent
d138b3de
Exists in
master
and in
4 other branches
restore handling exception for project creation
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/contexts/projects/create_context.rb
... | ... | @@ -49,8 +49,8 @@ module Projects |
49 | 49 | end |
50 | 50 | |
51 | 51 | @project |
52 | - #rescue => ex | |
53 | - #@project.errors.add(:base, "Can't save project. Please try again later") | |
52 | + rescue => ex | |
53 | + @project.errors.add(:base, "Can't save project. Please try again later") | |
54 | 54 | @project |
55 | 55 | end |
56 | 56 | ... | ... |