Skip to content
This repository was archived by the owner on Nov 26, 2017. It is now read-only.
This repository was archived by the owner on Nov 26, 2017. It is now read-only.

[Github] Enhancing error trapping #307

@eddieajau

Description

@eddieajau

Sometimes there isn't enough information about why a request fails.

https://github.com/joomla/joomla-framework/blob/staging/src/Joomla/Github/AbstractGithubObject.php#L127

Would it be appropriate to all a logger to Github, or add a callable to log debugging information for an exception. The callable could be set in the Github options so that we don't have to couple it to LoggerAwareInterface, but I'm also ok with that coupling. In the case above, we could dump the response object to the logger and try and decipher what went wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions