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

fix: handle the file not found error gracefully #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
aj3sh merged 2 commits into opensource-nepal:main from golesuman:fix/file-not-found-error
May 24, 2024

Conversation

@golesuman
Copy link
Collaborator

@golesuman golesuman commented May 24, 2024
edited
Loading

Description

Give meaningful error message than giving the full stack trace when the file is not found.

Related Issue

Fixes: #44

Type of Change

Please mark the appropriate option below to describe the type of change your pull request introduces:

  • Bug fix
  • New feature
  • Enhancement
  • Documentation update
  • Refactor
  • Other (please specify)

Checklist

  • My pull request has a clear title and description.
  • I have used semantic commit messages.
    Examples: "fix: Fixed foobar bug", "feat(accounts): Added foobar feature".
  • I have added/updated the necessary documentation on README.md.
  • I have added appropriate test cases (if applicable) to ensure the changes are functioning correctly.

Additional Notes

[Add any additional notes or context that you think the reviewers should know about.]

By submitting this pull request, I confirm that I have read and complied with the contribution guidelines of this project.

aj3sh and Sushil787 reacted with thumbs up emoji
Copy link
Member

aj3sh commented May 24, 2024

Could you please add a test for this case?

golesuman reacted with thumbs up emoji

@golesuman golesuman force-pushed the fix/file-not-found-error branch 2 times, most recently from c1ed3ca to 483b391 Compare May 24, 2024 15:17
Copy link
Collaborator Author

Could you please add a test for this case?

yeah done please check @aj3sh

aj3sh reacted with thumbs up emoji

@golesuman golesuman changed the title (削除) fix: handle the file not error gracefully (削除ここまで) (追記) fix: handle the file not found error gracefully (追記ここまで) May 24, 2024
@golesuman golesuman force-pushed the fix/file-not-found-error branch from 483b391 to e2db255 Compare May 24, 2024 15:41
Copy link
Member

@aj3sh aj3sh 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.

@golesuman golesuman force-pushed the fix/file-not-found-error branch from e2db255 to b69726c Compare May 24, 2024 15:59
@golesuman golesuman requested a review from aj3sh May 24, 2024 16:00
@aj3sh aj3sh merged commit 6c5a65c into opensource-nepal:main May 24, 2024
@ghost ghost mentioned this pull request May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@aj3sh aj3sh aj3sh approved these changes

@sugat009 sugat009 Awaiting requested review from sugat009

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Handle error if commit file not present

2 participants

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