graphql-python / graphql-python/graphql-core-legacy

Add logging example to documentation

未关闭
#238 0 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
371
派生
175
PR 合并指标
30 天内没有已合并 PR

描述

Judging by the issues on this package and graphene, a lot of users struggle with graphql-core's decision to catch all exceptions. I see that in #41 something was done to make this easier, but it's not clear how to use it. An example of logging/error handling in the documentation would go a long way.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先阅读 #41 中引用的 issue,以了解现有的异常处理变更,然后检查当前文档以确定合适的位置。添加一个文档示例,展示如何记录和处理 graphql-core 捕获的异常,并确认其中说明了如何在实践中使用此行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
documentation
Issue 类型
文档
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。