Closed
Description
Hi,
It would be great to improve logging.
For example - I tried to initialize gitbase
and got:
FATA[0000] unable to initialize database engine error="mkdir /var/lib/gitbase: permission denied"
Fortunately - I found this path in doc and changed GITBASE_INDEX_DIR
.
But it's definitely not obvious.
For example, it could contain a suggestion what possibly could be the reason for the error:
Error messages, and in general any feedback provided to a user in the course of interacting with your API, is part of the API. Interactivity and feedback are integral to the user experience. Design your API’s error messages deliberately.
from here.