Navigation Menu

Skip to content

Commit

Permalink
Adjusted sisUpload to reject an error instead of body
Browse files Browse the repository at this point in the history
  • Loading branch information
neurotech committed Jul 23, 2015
1 parent 3dede14 commit 7adabfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sis.js
Expand Up @@ -84,7 +84,7 @@ canvas.sisUpload = function (config) {
if (!error && response.statusCode >= 200 && response.statusCode < 300) {
resolve(body);
} else {
reject(body);
reject(error);
}
});
}
Expand Down

0 comments on commit 7adabfb

Please sign in to comment.