Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: remove query text from exception message, useexception.debug_message instead#1105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tswast merged 1 commit intomainfromb211616590-query-exception
Jan 12, 2022

Conversation

@tswast
Copy link
Contributor

Since query text can potentially contain sensitive information, remove it from
the default exception message. This information is useful for debugging, so
provide adebug_message attribute, which is not included in the exception
representation (and thus the logs).

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as abug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes internal issue 211616590
🦕

…essage` insteadSince query text can potentially contain sensitive information, remove it fromthe default exception message. This information is useful for debugging, soprovide a `debug_message` attribute, which is not included in the exceptionrepresentation (and thus the logs).Fixes internal issue 211616590
@tswasttswast requested a review froma teamJanuary 11, 2022 22:53
@tswasttswast requested a review froma team as acode ownerJanuary 11, 2022 22:53
@tswasttswast requested a review fromloferrisJanuary 11, 2022 22:53
@product-auto-labelproduct-auto-labelbot added the api: bigqueryIssues related to the googleapis/python-bigquery API. labelJan 11, 2022
@tswasttswast requested a review frompartheaJanuary 11, 2022 22:53
@tswasttswast merged commite23114c intomainJan 12, 2022
@tswasttswast deleted the b211616590-query-exception branchJanuary 12, 2022 21:25
gcf-merge-on-greenbot pushed a commit that referenced this pull requestJan 13, 2022
🤖 I have created a release *beep* *boop*---## [2.32.0](v2.31.0...v2.32.0) (2022-01-12)### Features* support authorized dataset entity ([#1075](#1075)) ([c098cd0](c098cd0))### Bug Fixes* remove query text from exception message, use `exception.debug_message` instead ([#1105](#1105)) ([e23114c](e23114c))---This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
abdelmegahedgoogle pushed a commit to abdelmegahedgoogle/python-bigquery that referenced this pull requestApr 17, 2023
…essage` instead (googleapis#1105)Since query text can potentially contain sensitive information, remove it fromthe default exception message. This information is useful for debugging, soprovide a `debug_message` attribute, which is not included in the exceptionrepresentation (and thus the logs).Fixes internal issue 211616590
abdelmegahedgoogle pushed a commit to abdelmegahedgoogle/python-bigquery that referenced this pull requestApr 17, 2023
🤖 I have created a release *beep* *boop*---## [2.32.0](googleapis/python-bigquery@v2.31.0...v2.32.0) (2022-01-12)### Features* support authorized dataset entity ([googleapis#1075](googleapis#1075)) ([c098cd0](googleapis@c098cd0))### Bug Fixes* remove query text from exception message, use `exception.debug_message` instead ([googleapis#1105](googleapis#1105)) ([e23114c](googleapis@e23114c))---This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@loferrisloferrisAwaiting requested review from loferris

@partheapartheaAwaiting requested review from parthea

1 more reviewer

@busunkim96busunkim96busunkim96 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@tswast@busunkim96

[8]ページ先頭

©2009-2025 Movatter.jp