Meta: Fix an error in the logResult example code
**Summary**
This pull request makes a simple fix to the example `logResult` code.
**Changes**
* Lifted result variable outside the try block scope
* Updated the catch block to log the error **
----
** Alternatively to logging the error, it could log the result variable, which would be the value of undefined. Happy to do that, just let me know.
合并状态:未合并 关闭于 2024-09-05 3 条评论