Skip to content

Prettier webhook messaging

Compare
Choose a tag to compare
@lockefox lockefox released this 07 Apr 21:24
· 131 commits to master since this release

Added ability to split out message/traceback when pushing to webhook. Now Slack/Discord handlers should appropriately use triple-backtick notation for messaging.

Example:

[ERROR:logging_test.py--test_discord_logger:311]
validate exc_info

Traceback (most recent call last):
  File "~/source/ProsperCommon/test/logging_test.py", line 309, in test_discord_logger
    test_dict['butts']
NameError: name 'test_dict' is not defined

The formatting behavior is not as granular with Slack. Reduced messaging complexity, but hardcoded attachments formatting

Fixes #11

Other Notes:

  • Removed prosper/crest to be implemented in another library later
  • Removed prosper/common/prosper_graphing.py because untested and unsupported
  • Cleaned up setup.py to reduce noisy features
  • Updated README.md to make a more beautiful landing page
  • Added starting hooks for travis-ci