[ARVADOS] updated: b5ed27eba73076e416a285c7ea240fe0d8f52568

git at public.curoverse.com git at public.curoverse.com
Fri Nov 7 09:22:36 EST 2014


Summary of changes:
 services/api/script/crunch-dispatch.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  b5ed27eba73076e416a285c7ea240fe0d8f52568 (commit)
      from  3e1ef3ebc922bd386566b6e75adf01003a2c3c96 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit b5ed27eba73076e416a285c7ea240fe0d8f52568
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Fri Nov 7 09:22:34 2014 -0500

    4310: Qualify namespace of AlreadyLockedError

diff --git a/services/api/script/crunch-dispatch.rb b/services/api/script/crunch-dispatch.rb
index 2be89c5..510761a 100755
--- a/services/api/script/crunch-dispatch.rb
+++ b/services/api/script/crunch-dispatch.rb
@@ -209,7 +209,7 @@ class Dispatcher
       if not job.save
         $stderr.puts "dispatch: save failed setting job #{job.uuid} to failed"
       end
-    rescue AlreadyLockedError
+    rescue ArvadosModel::AlreadyLockedError
       $stderr.puts "dispatch: tried to mark job #{job.uuid} as failed but it was already locked by someone else"
     end
   end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list