I have written an option for Excepthook integrations. [Curation Repo](https://github.com/getsentry/sentry-python) [PR link](https://github.com/getsentry/sentry-python/pull/364) The Sentry error capture and monitor library has recently changed its official library. I wanted to update the old library. I found a lack of testing. - What feature(s) did you add? ## Always_run Sentry does not catch errors in repl. They have a filter for that. If you when error with the code from an active terminal or debug screen; does not catch errors. Sometimes I need this feature. I've made this query dependent on the user's request. ##### Example Code ```python $ python > from sentry_sdk import init > from sentry_sdk.integrations.excepthook import ExcepthookIntegration > > init("http://foobar@localhost/123", > integrations=[ExcepthookIntegration(always_run=True)] > ) ``` its simple. :) - How did you implement it/them? ExcepthookIntegration class was not getting an initial value. I added the initial value and set the default value to False. I changed the query that controls repl activity, and I've canceled it if always_run is set. [This code](https://github.com/getsentry/sentry-python/commit/7f259280c86033b4ac4ea4178422750836673139#diff-b5bd15037527fcce59645aec1a9ebd21) I also had to write one test to support the repo. It was fun. :) [This test](https://github.com/getsentry/sentry-python/commit/7f259280c86033b4ac4ea4178422750836673139#diff-7d6e831027459c4607d17109b32715dc) I also opened a pr in the document. Not officially approved, but accepted. The next merger is said to be taken. [Doc-PR](https://github.com/getsentry/sentry-docs/pull/978) GitHub Account [tolgahanuzun](https://github.com/tolgahanuzun)
post_id | 74,944,648 | ||||||
---|---|---|---|---|---|---|---|
author | tolgahanuzun | ||||||
permlink | new-option-for-excepthook-integration-sentrysdk | ||||||
category | utopian-io | ||||||
json_metadata | {"app":"steempeak\/1.9.9","format":"markdown","tags":["utopian-io","development","python","sentry"],"users":["localhost"],"links":["https:\/\/github.com\/getsentry\/sentry-python","https:\/\/github.com\/getsentry\/sentry-python\/pull\/364","https:\/\/github.com\/getsentry\/sentry-python\/commit\/7f259280c86033b4ac4ea4178422750836673139#diff-b5bd15037527fcce59645aec1a9ebd21","https:\/\/github.com\/getsentry\/sentry-python\/commit\/7f259280c86033b4ac4ea4178422750836673139#diff-7d6e831027459c4607d17109b32715dc","https:\/\/github.com\/getsentry\/sentry-docs\/pull\/978","https:\/\/github.com\/tolgahanuzun"]} | ||||||
created | 2019-05-18 09:43:45 | ||||||
last_update | 2019-05-18 09:43:45 | ||||||
depth | 0 | ||||||
children | 4 | ||||||
net_rshares | 19,182,067,694,785 | ||||||
last_payout | 2019-05-25 09:43:45 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 7.800 SBD | ||||||
curator_payout_value | 2.510 SBD | ||||||
pending_payout_value | 0.000 SBD | ||||||
promoted | 0.000 SBD | ||||||
body_length | 1,739 | ||||||
author_reputation | 14,417,464,439,057 | ||||||
root_title | "New option for excepthook integration [Sentry_SDK]" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 SBD | ||||||
percent_steem_dollars | 10,000 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tombstone | 0 | 1,980,363,756,903 | 7.96% | ||
rufans | 0 | 25,432,029,012 | 100% | ||
elena-singer | 0 | 39,699,589,105 | 100% | ||
jga | 0 | 1,282,658,017 | 9.95% | ||
helo | 0 | 79,275,858,377 | 32.73% | ||
codingdefined | 0 | 43,255,121,163 | 32.73% | ||
veritasvav | 0 | 46,852,370,288 | 100% | ||
leir | 0 | 2,201,178,130 | 50% | ||
buckydurddle | 0 | 13,137,909,912 | 42.54% | ||
jinger | 0 | 4,173,508,629 | 52.36% | ||
espoem | 0 | 95,839,264,918 | 48.64% | ||
mcfarhat | 0 | 26,133,191,908 | 13.09% | ||
utopian-io | 0 | 15,284,495,119,852 | 19.9% | ||
jaff8 | 0 | 61,974,311,163 | 32.73% | ||
emrebeyler | 0 | 20,535,569,469 | 10% | ||
newsrx | 0 | 182,040,692 | 11.73% | ||
amosbastian | 0 | 102,954,336,720 | 32.73% | ||
asaj | 0 | 17,471,977,718 | 100% | ||
sargoon | 0 | 768,433,442 | 5.86% | ||
tobias-g | 0 | 176,745,713,912 | 43% | ||
fresh-faced | 0 | 0 | 1% | ||
ahmetmertugrul | 0 | 832,386,610 | 100% | ||
mirkosche | 0 | 181,481,898 | 42.54% | ||
tolgahanuzun | 0 | 16,118,970,377 | 100% | ||
feronio | 0 | 1,317,264,679 | 100% | ||
peyloride | 0 | 551,428,052 | 100% | ||
tahirozgen | 0 | 8,483,778,031 | 14% | ||
mightypanda | 0 | 33,760,321,410 | 20% | ||
cryptouno | 0 | 385,073,106 | 5% | ||
steeming-hot | 0 | 0 | 0.01% | ||
mops2e | 0 | 575,115,981 | 38.91% | ||
steem-ua | 0 | 1,063,526,356,017 | 11.73% | ||
bluerobo | 0 | 13,491,586,022 | 100% | ||
ascorphat | 0 | 245,544,522 | 2.5% | ||
knifer | 0 | 121,413,095 | 10% | ||
dicetime | 0 | 19,703,035,655 | 9.95% |
- This article could have used more images and details. - Please include more comments in your code. - Make commit messages more detailed. Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category. To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/3/3-3-3-2-2-2-4-). ---- Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm). [[utopian-moderator]](https://join.utopian.io/)
post_id | 75,007,890 |
---|---|
author | helo |
permlink | re-tolgahanuzun-new-option-for-excepthook-integration-sentrysdk-20190519t173258991z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"links":["https:\/\/join.utopian.io\/guidelines","https:\/\/review.utopian.io\/result\/3\/3-3-3-2-2-2-4-","https:\/\/discord.gg\/uTyJkNm","https:\/\/join.utopian.io\/"],"app":"steemit\/0.1"} |
created | 2019-05-19 17:33:00 |
last_update | 2019-05-19 17:33:00 |
depth | 1 |
children | 1 |
net_rshares | 11,490,791,258,503 |
last_payout | 2019-05-26 17:33:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 4.954 SBD |
curator_payout_value | 1.520 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 588 |
author_reputation | 119,612,833,307,875 |
root_title | "New option for excepthook integration [Sentry_SDK]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
marina007 | 0 | 1,156,371,720 | 4.5% | ||
codingdefined | 0 | 41,560,805,448 | 34.62% | ||
jadabug | 0 | 3,325,189,924 | 2% | ||
buckydurddle | 0 | 12,670,581,653 | 45% | ||
espoem | 0 | 26,923,512,402 | 15% | ||
utopian-io | 0 | 11,049,563,975,036 | 12.22% | ||
jaff8 | 0 | 59,011,859,637 | 34.61% | ||
emrebeyler | 0 | 2,067,257,618 | 1% | ||
aydant | 0 | 3,088,346,126 | 50% | ||
amosbastian | 0 | 98,468,981,528 | 34.62% | ||
ismailkah | 0 | 3,943,336,634 | 25% | ||
organicgardener | 0 | 725,250,806 | 35% | ||
reazuliqbal | 0 | 16,225,116,683 | 10% | ||
tolgahanuzun | 0 | 16,125,910,344 | 100% | ||
ezravandi | 0 | 6,477,412,109 | 2% | ||
statsexpert | 0 | 10,126,630,233 | 100% | ||
sbi6 | 0 | 56,231,250,440 | 40.12% | ||
mightypanda | 0 | 63,505,624,408 | 50% | ||
ulockblock | 0 | 15,851,136,405 | 5.58% | ||
irenweiher | 0 | 357,493,505 | 100% | ||
fastandcurious | 0 | 219,236,521 | 100% | ||
votes4minnows | 0 | 1,124,184,661 | 2.5% | ||
linknotfound | 0 | 157,756,170 | 100% | ||
ascorphat | 0 | 238,158,725 | 2.5% | ||
monster-inc | 0 | 1,178,639,140 | 100% | ||
patrikcooper | 0 | 467,240,627 | 100% |
Thank you for your review, @helo! Keep up the good work!
post_id | 75,151,772 |
---|---|
author | utopian-io |
permlink | re-re-tolgahanuzun-new-option-for-excepthook-integration-sentrysdk-20190519t173258991z-20190522t110626z |
category | utopian-io |
json_metadata | {"app":"beem\/0.20.17"} |
created | 2019-05-22 11:06:27 |
last_update | 2019-05-22 11:06:27 |
depth | 2 |
children | 0 |
net_rshares | 0 |
last_payout | 2019-05-29 11:06:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 56 |
author_reputation | 152,913,012,544,965 |
root_title | "New option for excepthook integration [Sentry_SDK]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
#### Hi @tolgahanuzun! Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation! Your post is eligible for our upvote, thanks to our collaboration with @utopian-io! **Feel free to join our [@steem-ua Discord server](https://discord.gg/KpBNYGz)**
post_id | 75,010,630 |
---|---|
author | steem-ua |
permlink | re-new-option-for-excepthook-integration-sentrysdk-20190519t183754z |
category | utopian-io |
json_metadata | {"app":"beem\/0.20.19"} |
created | 2019-05-19 18:37:54 |
last_update | 2019-05-19 18:37:54 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2019-05-26 18:37:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 291 |
author_reputation | 23,203,609,903,979 |
root_title | "New option for excepthook integration [Sentry_SDK]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
Hey, @tolgahanuzun! **Thanks for contributing on Utopian**. Weβre already looking forward to your next contribution! **Get higher incentives and support Utopian.io!** Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via [SteemPlus](https://chrome.google.com/webstore/detail/steemplus/mjbkjgcplmaneajhcbegoffkedeankaj?hl=en) or [Steeditor](https://steeditor.app)). **Want to chat? Join us on Discord https://discord.gg/h52nFrV.** <a href='https://steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
post_id | 75,100,115 |
---|---|
author | utopian-io |
permlink | re-new-option-for-excepthook-integration-sentrysdk-20190521t121555z |
category | utopian-io |
json_metadata | {"app":"beem\/0.20.17"} |
created | 2019-05-21 12:15:57 |
last_update | 2019-05-21 12:15:57 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2019-05-28 12:15:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 594 |
author_reputation | 152,913,012,544,965 |
root_title | "New option for excepthook integration [Sentry_SDK]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |