diff --git a/build/utils/patterns.js b/build/utils/patterns.js index 18a182d2..16a3293a 100644 --- a/build/utils/patterns.js +++ b/build/utils/patterns.js @@ -134,7 +134,8 @@ limitations under the License. }; exports.printErrorMessage = function(message) { - return console.error(chalk.red(message)); + console.error(chalk.red(message)); + return console.error(chalk.red('\nIf you need help, don\'t hesitate in contacting us at:\n\n GitHub: https://github.com/resin-io/resin-cli/issues/new\n Gitter: https://gitter.im/resin-io/chat\n')); }; }).call(this); diff --git a/lib/utils/patterns.coffee b/lib/utils/patterns.coffee index 3ac65bf7..b4dd9e65 100644 --- a/lib/utils/patterns.coffee +++ b/lib/utils/patterns.coffee @@ -105,3 +105,11 @@ exports.awaitDevice = (uuid) -> exports.printErrorMessage = (message) -> console.error(chalk.red(message)) + console.error chalk.red ''' + + If you need help, don't hesitate in contacting us at: + + GitHub: https://github.com/resin-io/resin-cli/issues/new + Gitter: https://gitter.im/resin-io/chat + + '''