Bug: exit status 128
Bug Description
running mage on a new project results in FATAL[0000] exit status 128. This error is not very helpful since there seem to be no error code documentation anywere in the project.
What did you do?
run mage
What did you expect to happen? get list of targets
What actually happened?
FATAL[0000] exit status 128
Environment
- Mage Version: [run mage --version]
Mage Build Tool v1.13.0-7-g40d421b
Build Date: 2022-05-21T10:43:22+02:00
Commit: 40d421b
built with: go1.18.1
- OS: [e.g. windows/linux/mac] Arch Linux
Additional context
Refers to: https://github.com/magefile/mage/issues/357 Showing underlying errors.
Document error codes somewhere easy to find.
Some more context. This happend due to not initialized git repo. Since it was a new project after git init mage works fine. But still the error was resolved due to luck. Error codes are really missing enough information to debug issues.