mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Merge pull request #973 from roramirez/add-code-error-cliente-failstart
Add log when clientonly failed on starting.
This commit is contained in:
commit
663e9a9b5e
@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- Changed 'default.js' - listen on all attached interfaces by default.
|
- Changed 'default.js' - listen on all attached interfaces by default.
|
||||||
- Add execution of `npm list` after the test are ran in Travis CI.
|
- Add execution of `npm list` after the test are ran in Travis CI.
|
||||||
- Change hooks for the vendors e2e tests.
|
- Change hooks for the vendors e2e tests.
|
||||||
|
- Add log when clientonly failed on starting.
|
||||||
- Add warning color when are using full ip whitelist.
|
- Add warning color when are using full ip whitelist.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -87,6 +87,13 @@
|
|||||||
child.on("error", function (err) {
|
child.on("error", function (err) {
|
||||||
process.stdout.write(`Client: ${err}`);
|
process.stdout.write(`Client: ${err}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
child.on('close', (code) => {
|
||||||
|
if (code != 0) {
|
||||||
|
console.log(`There something wrong. The clientonly is not running code ${code}`);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
})
|
})
|
||||||
.catch(function (reason) {
|
.catch(function (reason) {
|
||||||
fail(`Unable to connect to server: (${reason})`);
|
fail(`Unable to connect to server: (${reason})`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user