[ARVADOS] updated: 2.1.0-33-ge4ae433b7

Git user git at public.arvados.org
Mon Nov 9 19:28:23 UTC 2020


Summary of changes:
 apps/workbench/app/models/arvados_base.rb | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

       via  e4ae433b7360975d1c631e46e7cd456dd5ceed6d (commit)
      from  5cfe4fda15d5de55ad6a6d9d172933e130b06de6 (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 e4ae433b7360975d1c631e46e7cd456dd5ceed6d
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date:   Mon Nov 9 16:28:01 2020 -0300

    17014: Restores exception raising.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>

diff --git a/apps/workbench/app/models/arvados_base.rb b/apps/workbench/app/models/arvados_base.rb
index a9d27aba5..c5e1a4ed2 100644
--- a/apps/workbench/app/models/arvados_base.rb
+++ b/apps/workbench/app/models/arvados_base.rb
@@ -202,12 +202,7 @@ class ArvadosBase
 
   def self.find(uuid, opts={})
     if uuid.class != String or uuid.length < 27 then
-      begin
-        raise
-      rescue => e
-        raise e.message + e.backtrace[0..20].join("\n") + "'#{uuid}': argument to find() must be a uuid string. Acceptable formats: warehouse locator or string with format xxxxx-xxxxx-xxxxxxxxxxxxxxx"
-      end
-      
+      raise 'argument to find() must be a uuid string. Acceptable formats: warehouse locator or string with format xxxxx-xxxxx-xxxxxxxxxxxxxxx'
     end
 
     if self == ArvadosBase

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list