Tom*_*Tom 10 python google-cloud-functions
我使用 Python 尝试了 Google Cloud Functions,但运行时出现问题。它说:Error: could not handle the request
我检查了日志,但没有错误,只是一条日志消息:
Function execution took 16 ms, finished with status: 'crash'
Run Code Online (Sandbox Code Playgroud)
当我将功能简化为打印输出时,它可以正常工作。然后我raise Exception('test')在打印输出之前添加以查看异常是否会导致 Stackdriver Errors,但它没有,我finished with status: 'crash'只在日志中再次收到消息。
这是正常行为吗?或者它是一个错误,而不是崩溃,我应该将异常视为日志中的错误?
| 归档时间: |
|
| 查看次数: |
8527 次 |
| 最近记录: |