File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ sudo: false
3
3
language : python
4
4
5
5
python :
6
+ - " 3.8"
7
+ - " 3.7"
6
8
- " 3.6"
7
9
8
10
services :
Original file line number Diff line number Diff line change @@ -396,7 +396,7 @@ async def receive(self, channel):
396
396
for task in done :
397
397
try :
398
398
result = task .result ()
399
- except Exception as error : # NOQA
399
+ except BaseException as error : # NOQA
400
400
# We should not propagate exceptions immediately as otherwise this may cause
401
401
# the lock to be held and never be released.
402
402
exception = error
@@ -502,7 +502,7 @@ def _cleanup_done(cleaner):
502
502
503
503
cleaner .add_done_callback (_cleanup_done )
504
504
505
- except Exception :
505
+ except BaseException :
506
506
self .receive_clean_locks .release (channel_key )
507
507
raise
508
508
You can’t perform that action at this time.
0 commit comments