Closed
Description
This is more a suggestion for improvement than feature request...
When Python Azure function has data binding to non-existing blob storage, the following error message is displayed, which I believe is not very descriptive. I think an error message indicating the non-existing Azure resource would be much easier to understand to the users.
[08.07.2020 10:13:27] System.Private.CoreLib: Exception while executing function: Functions.covidata. System.Private.CoreLib: Result: Failure
Exception: AttributeError: 'NoneType' object has no attribute 'type'
Stack: File "C:\Users\dmitryso\AppData\Roaming\npm\node_modules\azure-functions-core-tools\bin\workers\python\3.7/WINDOWS/X64\azure_functions_worker\dispatcher.py", line 317, in _handle__invocation_request
pytype=pb_type_info.pytype)
File "C:\Users\dmitryso\AppData\Roaming\npm\node_modules\azure-functions-core-tools\bin\workers\python\3.7/WINDOWS/X64\azure_functions_worker\bindings\meta.py", line 72, in from_incoming_proto
return binding.decode(datum, trigger_metadata=metadata)
File "C:\Users\dmitryso\AppData\Roaming\npm\node_modules\azure-functions-core-tools\bin\workers\python\3.7/WINDOWS/X64\azure\functions\blob.py", line 78, in decode
data_type = data.type
Metadata
Metadata
Assignees
Labels
No labels