-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #331 Verbose logging was using the wrong key structure
The queue gets the item to log that represents the data in the final payload structure of ``` { "access_token": "abc123", "data": { ... } } ``` rather than the whole payload itself. The API object is responsible for wrapping that data object up inside a structure like the above and then sending it. Thus the body of the item is a top level key rather than nested under the data key. Secondly, everyone wants the original error to be output if there is one isntead of just the exception message, so make it so.
- Loading branch information
Showing
2 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters