Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

How to disable the error written in the terminal when making API requests? #16

Open
gabipetrovay opened this Issue · 1 comment

2 participants

@gabipetrovay

When for example an error occurs during an API request the error is dumped into the stderr or stdout. For example:

[error] { message: '{"message":"Not Found"}', code: 404 } ...

When creating the node Github API client no debug option is set (or even if it is set to false):

var Github = require('github');
var gh = new Github({ version: '3.0.0' });
@masylum

I would love a silent option too :+1:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.