Added error information for CommitError
Merge pull request #323 from shermdog/exceptions

Added error information for CommitError