Skip to content

Commit b01bb0b

Browse files
committed
clarify error message; bump version for minor release
1 parent 1158130 commit b01bb0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function get(config, uri, callback) {
3030
}
3131

3232
if (res.statusCode !== 200) {
33-
return callback(new Error("API seems to be broken: Status:" + res.statusCode));
33+
return callback(new Error("Cannot access GitLab API. Please verify your private token. (Status:" + res.statusCode + ")"));
3434
}
3535

3636
callback(undefined, res.body);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strider-gitlab",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "A gitlab provider for strider",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)