Catch jgit errors