git-rev icon indicating copy to clipboard operation
git-rev copied to clipboard

Handle errors -- what if `git` is missing or IO fails?

Open bugeats opened this issue 9 years ago • 4 comments

Wrapping the exec call and ignoring errors is asking for trouble.

bugeats avatar Aug 26 '14 17:08 bugeats

I just run into this problem because i didn't read the docs. I assumed that there's an error instance as first argument.

marcbachmann avatar Feb 12 '15 12:02 marcbachmann

+1

jshthornton avatar Jun 11 '15 02:06 jshthornton

+1

noriah avatar Jun 03 '16 18:06 noriah

+1

soryy708 avatar May 21 '18 07:05 soryy708