3836: if rescued an error other than unique constraint violation, raise it back.
[arvados.git] / apps / workbench / app / controllers / projects_controller.rb
index 2cbdcc90c846ac4c978467a3ff9dfde3313c1257..435e0cd5d68f9086a1cf83ea8d5377d360daedac 100644 (file)
@@ -140,6 +140,8 @@ class ProjectsController < ApplicationController
             updates[:owner_uuid] = current_user.uuid
             item.update_attributes updates
             @removed_uuids << item.uuid
+          else
+            raise
           end
         end
       end