Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

feat: improve endpoint_diagnostic tool and documents #1282

Merged
merged 1 commit into from
Aug 14, 2018
Merged

Conversation

jrconlin
Copy link
Member

@jrconlin jrconlin commented Aug 7, 2018

Closes #1281

)
uaid, chid = parsed["uaid"], parsed["chid"]
except (InvalidTokenException, InvalidToken) as ex:
print("Token could not be deciphered. Are you using the correct"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it worth including the exception in this message (I'm leaning towards sure, why not)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, was kinda on the fence. Mostly because the bulk was "Invalid Token", but yeah, there are times it's useful to dump as well.

pjenvey
pjenvey previously approved these changes Aug 7, 2018
@codecov-io
Copy link

codecov-io commented Aug 7, 2018

Codecov Report

Merging #1282 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1282   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files          59      59           
  Lines        9531    9559   +28     
======================================
+ Hits         9531    9559   +28
Impacted Files Coverage Δ
autopush/diagnostic_cli.py 100% <100%> (ø) ⬆️
autopush/tests/test_diagnostic_cli.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2d61a0e...66c9a21. Read the comment docs.

@bbangert bbangert merged commit 21ca80d into master Aug 14, 2018
@bbangert bbangert deleted the feat/1281 branch August 14, 2018 16:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants