mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-13 22:22:58 +00:00
Redirect users to GitHub and Gitter in case of errors
Users will ge a better experience by knowing exactly where to go for help if things go wrong.
This commit is contained in:
parent
11c0d2a847
commit
70ea8dd1a3
@ -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);
|
||||
|
@ -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
|
||||
|
||||
'''
|
||||
|
Loading…
x
Reference in New Issue
Block a user