Commit 644f8819af5d06deedb4420e8ad45637b96c9676

Authored by Dmitriy Zaporozhets
1 parent d138b3de

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,8 +49,8 @@ module Projects
49 end 49 end
50 50
51 @project 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 @project 54 @project
55 end 55 end
56 56