File tree 1 file changed +12
-12
lines changed
1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -361,9 +361,9 @@ def _call_sync_func(
361
361
# If the parent was traced (sampled in), the child will be too.
362
362
try :
363
363
call = _create_call (op , * args , __weave = __weave , ** kwargs )
364
- except OpCallError as e :
365
- raise e
366
- except Exception as e :
364
+ except OpCallError :
365
+ raise
366
+ except Exception :
367
367
if get_raise_on_captured_errors ():
368
368
raise
369
369
log_once (
@@ -448,9 +448,9 @@ def _call_sync_gen(
448
448
# Proceed with tracing
449
449
try :
450
450
call = _create_call (op , * args , __weave = __weave , ** kwargs )
451
- except OpCallError as e :
452
- raise e
453
- except Exception as e :
451
+ except OpCallError :
452
+ raise
453
+ except Exception :
454
454
if get_raise_on_captured_errors ():
455
455
raise
456
456
log_once (
@@ -623,9 +623,9 @@ async def _call_async_func(
623
623
# Proceed with tracing
624
624
try :
625
625
call = _create_call (op , * args , __weave = __weave , ** kwargs )
626
- except OpCallError as e :
627
- raise e
628
- except Exception as e :
626
+ except OpCallError :
627
+ raise
628
+ except Exception :
629
629
if get_raise_on_captured_errors ():
630
630
raise
631
631
log_once (
@@ -710,9 +710,9 @@ async def _call_async_gen(
710
710
# Proceed with tracing
711
711
try :
712
712
call = _create_call (op , * args , __weave = __weave , ** kwargs )
713
- except OpCallError as e :
714
- raise e
715
- except Exception as e :
713
+ except OpCallError :
714
+ raise
715
+ except Exception :
716
716
if get_raise_on_captured_errors ():
717
717
raise
718
718
log_once (
You can’t perform that action at this time.
0 commit comments