Skip to content
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

[#57] Better Exception Handling #443

Closed

Conversation

han-gyeol
Copy link

Part of #57

Add GitCheckerException for better debuggability. Currently when any of the git command fails, it simply throws RuntimeException without telling which specific command failed.

As mentioned in #442, this part of the code will be deprecated to better alternatives, but I still think each git operation deserves exception of its own for better clarity.

There is still a concern whether checked exception is necessary for git failure. If it is unnecessary, then maybe continue using RuntimeException is fine.

@han-gyeol han-gyeol force-pushed the 57-better-exception-handling branch from 6943465 to 6f81e46 Compare December 19, 2018 02:02
@damithc
Copy link
Collaborator

damithc commented Jan 8, 2019

@han-gyeol Is this WIP or ready for review?

@han-gyeol
Copy link
Author

It's still WIP. Trying to figure out the test failure.

@yamidark
Copy link
Contributor

@han-gyeol Any updates on this PR?

@yamidark
Copy link
Contributor

yamidark commented Feb 9, 2019

Closing due to inactivity, @han-gyeol let me know if you wish to work on this again.

@yamidark yamidark closed this Feb 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants