Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Better logging #971

Closed
Closed
Labels
enhancementNew feature or request
@EgorBu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /