Skip to content

Conversation

googs1025
Copy link
Contributor

refactor the error variable in server part

@BruceMacD
Copy link
Contributor

Hi @googs1025, appreciate the refactor. Was there a specific usage reason you were looking to refactor these or just to tidy the codebase?

@googs1025
Copy link
Contributor Author

What I understand is: the error variables can be extracted, for example: errMaxRedirectsExceeded errInsecureProtocol.

@googs1025
Copy link
Contributor Author

@BruceMacD /PTAL
Do you agree with this point?

Copy link
Contributor

@BruceMacD BruceMacD left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for the tidy

@BruceMacD BruceMacD merged commit 0bd0454 into ollama:main Mar 28, 2025
8 checks passed
halfcrazy pushed a commit to halfcrazy/ollama that referenced this pull request Jun 19, 2025
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
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.

2 participants