forked from LBRYCommunity/lbry-sdk
Merge pull request #472 from lbryio/fix-bug-report-slack-key
Fix how the bug report code accesses Slack API key setting
This commit is contained in:
commit
75cc0dcce9
2 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ at anytime.
|
||||||
* call stopProducing in reflector client file_sender when uploading is done
|
* call stopProducing in reflector client file_sender when uploading is done
|
||||||
* ensure streams in stream_info_manager are saved in lbry_file_manager
|
* ensure streams in stream_info_manager are saved in lbry_file_manager
|
||||||
* [#470](https://github.com/lbryio/lbry/issues/470)
|
* [#470](https://github.com/lbryio/lbry/issues/470)
|
||||||
|
* Fixed upload of bug reports to Slack ([#472](https://github.com/lbryio/lbry/issues/472))
|
||||||
|
|
||||||
## [0.8.1] - 2017-02-01
|
## [0.8.1] - 2017-02-01
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -2679,7 +2679,7 @@ def get_loggly_query_string(installation_id):
|
||||||
|
|
||||||
|
|
||||||
def report_bug_to_slack(message, installation_id, platform_name, app_version):
|
def report_bug_to_slack(message, installation_id, platform_name, app_version):
|
||||||
webhook = utils.deobfuscate(conf.settings.SLACK_WEBHOOK)
|
webhook = utils.deobfuscate(conf.settings['SLACK_WEBHOOK'])
|
||||||
payload_template = "os: %s\n version: %s\n<%s|loggly>\n%s"
|
payload_template = "os: %s\n version: %s\n<%s|loggly>\n%s"
|
||||||
payload_params = (
|
payload_params = (
|
||||||
platform_name,
|
platform_name,
|
||||||
|
|
Loading…
Reference in a new issue