Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update error message in linear search function #3

Closed
@Nitin-Pilkhwal

Description

The current error message in the linear_search function says "An error occurred during binary search". This is misleading because the function is actually a linear search, not a binary search. The error message should be updated to reflect this.

Proposed Change:
Update the error message in the linear_search function from:
logging.exception("An error occurred during binary search: %s", e)

To :
logging.exception("An error occurred during linear search: %s", e)

This will help users better understand the nature of the error and what function it occurred in.

I already made a pull request on this issue - #1

Thank you for considering my contribution. 🤍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /