os / slacker

Full-featured Python interface for the Slack API
Apache License 2.0
1.6k stars 245 forks source link

Changed error result with response_metadata field #142

Open shollingsworth opened 6 years ago

shollingsworth commented 6 years ago

Changed error result with response_metadata field set to something with more context

Turns response.error variable from: Error: validation_errors to Error: validation_errors - [ERROR] Element 2 field 'label' cannot be longer than 24 characters if the response JSON body has a field response_metadata that is not empty.