From a08ca309cb5bd7971210a9247a38c9bbe376a6e6 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Thu, 29 Jul 2021 09:11:05 -0700 Subject: Lockfile custom command, fixup minor things. --- decorator_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decorator_utils.py') diff --git a/decorator_utils.py b/decorator_utils.py index 0d5b3e3..76faec6 100644 --- a/decorator_utils.py +++ b/decorator_utils.py @@ -340,7 +340,7 @@ def _target(queue, function, *args, **kwargs): """ try: queue.put((True, function(*args, **kwargs))) - except: + except Exception: queue.put((False, sys.exc_info()[1])) -- cgit v1.3