Commit c69672c9 authored by analog-nico's avatar analog-nico
Browse files

Added wiki link to error message

parent c2df5c69
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -125,7 +125,7 @@ function expose(methodToExpose, exposeAs) {


    /* istanbul ignore if */
    /* istanbul ignore if */
    if (!_.isUndefined(request.Request.prototype[exposeAs])) {
    if (!_.isUndefined(request.Request.prototype[exposeAs])) {
        console.error(chalk.bold.bgRed('[Request-Promise] Unable to expose method "' + exposeAs + '". It is already implemented by Request.'));
        console.error(chalk.bold.bgRed('[Request-Promise] Unable to expose method "' + exposeAs + '". It is already implemented by Request. Please visit https://github.com/tyabonil/request-promise/wiki/Troubleshooting'));
        return;
        return;
    }
    }