Skip to content

Improve error handling when fetching CL command documentation#63

Merged
SanjulaGanepola merged 2 commits into
IBM:mainfrom
venky225:authMessageFix
Jun 8, 2026
Merged

Improve error handling when fetching CL command documentation#63
SanjulaGanepola merged 2 commits into
IBM:mainfrom
venky225:authMessageFix

Conversation

@venky225

Copy link
Copy Markdown
Collaborator

@SanjulaGanepola @Mohammed-Yaseen-Ali-2081

This PR is to catch the error message returned in GENCMDDOC, whereas earlier we are just returning if code ===0. Now we are throwing the error message.

Signed-off-by: venky225 <kona.venkatareddy@gmail.com>
@SanjulaGanepola

Copy link
Copy Markdown
Member

@Mohammed-Yaseen-Ali-2081 Have you reviewed this PR by chance?

@Mohammed-Yaseen-Ali-2081 Mohammed-Yaseen-Ali-2081 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good, works as expected

@Mohammed-Yaseen-Ali-2081

Copy link
Copy Markdown
Collaborator

@SanjulaGanepola Please merge this if you dont have any suggestions, Thanks

Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
@SanjulaGanepola SanjulaGanepola changed the title Commit message: Add Auth error handling for CL documentation retrieval Improve error handling when fetching CL command documentation Jun 8, 2026
@SanjulaGanepola SanjulaGanepola merged commit 43df39c into IBM:main Jun 8, 2026
3 checks passed
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.

3 participants