forked from LBRYCommunity/lbry-sdk
Fix how the bug report code accesses Slack API key setting
It was trying to access this setting as an attribute, which doesn't work anymore. (Not sure if this is an API change in conf.settings or just a bug.)
This commit is contained in:
parent
b03e7e14f3
commit
0e8e489ad6
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
|
||||
* ensure streams in stream_info_manager are saved in lbry_file_manager
|
||||
* [#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
|
||||
### Changed
|
||||
|
|
|
@ -2679,7 +2679,7 @@ def get_loggly_query_string(installation_id):
|
|||
|
||||
|
||||
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_params = (
|
||||
platform_name,
|
||||
|
|
Loading…
Reference in a new issue