You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception when trying to run compile-time code:
git: readCreateProcessWithExitCode: runInteractiveProcess: exec: does not exist (No such file or directory)
Code: tGitInfoCwdTry
ExitFailure _ ->return$Left$GHEGitRunFailed root args ec out err
It looks like readCreateProcessWithExitCode is throwing an exception when it can't find git. It would help to say that explicitly — perhaps by catching and rethrowing with a better error message?
Edit: This needs to be handled so tGitInfoCwdTry doesn't throw an exception.
This is from stack:
githash/src/GitHash.hs
Lines 184 to 189 in c3d3859
It looks like readCreateProcessWithExitCode is throwing an exception when it can't find
git
.It would help to say that explicitly — perhaps by catching and rethrowing with a better error message?Edit: This needs to be handled so
tGitInfoCwdTry
doesn't throw an exception.Related: commercialhaskell/stack#4364
The text was updated successfully, but these errors were encountered: