File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
packages/tencent-cloud-sdk-serverless-functions/tencent/cloud/serverless/functions Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -749,9 +749,14 @@ async def wait_handler_async():
749749
750750 break
751751 except errors .errors .ActionError as error :
752- if error . error_id != ' ResourceNotFound.FunctionName' :
753- raise
752+ # Cannot tell the difference between ` ResourceNotFound.Function`
753+ # and `ResourceNotFound.FunctionName`
754754
755+ if (error .error_id != 'ResourceNotFound.FunctionName' and
756+ error .error_id != 'ResourceNotFound.Function'
757+ ):
758+ raise
759+
755760 await asyncio .sleep (1 )
756761
757762 return waitable .OperationWaitable (
@@ -2613,8 +2618,8 @@ async def wait_handler_async() -> int:
26132618 layer_name , layer_version )
26142619
26152620 break
2616- except errors .errors .ActionError as action_error :
2617- if action_error .error_id != 'ResourceNotFound.LayerVersion' :
2621+ except errors .errors .ActionError as error :
2622+ if error .error_id != 'ResourceNotFound.LayerVersion' :
26182623 raise
26192624
26202625 await asyncio .sleep (1 )
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def read_readme_content() -> str:
3535
3636setuptools .setup (
3737 name = 'tencent-cloud-sdk' ,
38- version = '0.1.6 ' ,
38+ version = '0.1.7 ' ,
3939 keywords = 'tencent-cloud sdk-python' ,
4040 license = 'MIT License' ,
4141 author = 'Tencent Cloud' ,
You can’t perform that action at this time.
0 commit comments