9865: Removes handling of exceptions derived from BaseException
authorEric Biagiotti <ebiagiotti@veritasgenetcs.com>
Fri, 22 Feb 2019 20:53:38 +0000 (15:53 -0500)
committerEric Biagiotti <ebiagiotti@veritasgenetcs.com>
Fri, 22 Feb 2019 20:53:38 +0000 (15:53 -0500)
Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

sdk/cwl/arvados_cwl/fsaccess.py

index fc7cc42d15c61f19021f006cb1eec18ab94178cd..3744b4a93afa40df10c17335310503500acd2432 100644 (file)
@@ -240,8 +240,8 @@ class CollectionFetcher(DefaultFetcher):
                     return True
         except arvados.errors.NotFoundError:
             return False
-        except:
-            logger.exception("Got unexpected exception checking if file exists:")
+        except Exception:
+            logger.exception("Got unexpected exception checking if file exists")
             return False
         return super(CollectionFetcher, self).check_exists(url)