Skip to content

Conversation

@eccles
Copy link
Contributor

@eccles eccles commented May 16, 2022

Problem:
Unclear error display when an illegal_url or bearer token is used.

Solution:
URL with trailing slash will immediately raise an exception.
Illegal client_id and secret will generate an auth token that is None
and this will raise an exception on first use.
Logger handling is now fully documented with examples.
Docs generation fixed (spelling plugin was preventing generation of
html)
Archivist unittests split into smaller files as original exceeded
1000 lines.

Signed-off-by: Paul Hewlett phewlett76@gmail.com

Problem:
Unclear error display when an illegal_url or bearer token is used.

Solution:
URL with trailing slash will immediately raise an exception.
Illegal client_id and secret will generate an auth token that is None
and this will raise an exception on first use.
Logger handling is now fully documented with examples.
Docs generation fixed (spelling plugin was preventing generation of
html)
Archivist unittests split into smaller files as original exceeded
1000 lines.

Signed-off-by: Paul Hewlett <phewlett76@gmail.com>
@eccles eccles force-pushed the dev/eccles/illegal-url branch from be876f0 to e1bbd16 Compare May 16, 2022 13:32
@eccles eccles requested a review from robinbryce May 16, 2022 13:34
Copy link
Contributor

@leflambeur leflambeur left a comment

Choose a reason for hiding this comment

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

lgtm

@eccles eccles merged commit 0ed22d6 into main May 18, 2022
@eccles eccles deleted the dev/eccles/illegal-url branch May 18, 2022 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chattier Error Handling when Auth = None Handle trailing slashes in URLs

3 participants