Skip to content
Snippets Groups Projects
Commit 781c3754 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

#187 - Improve logging

parent 7cb0bdfb
Branches
Tags
No related merge requests found
......@@ -101,7 +101,7 @@ class ModuleInstance extends InstanceBase {
}
if (this.config.host == null || this.config.port == null) {
console.log(`PlayWall host '${this.config.host}' or port '${this.config.port}' is invalid`);
this.log('debug', `PlayWall host '${this.config.host}' or port '${this.config.port}' is invalid`);
this.updateStatus(InstanceStatus.BadConfig, `PlayWall host '${this.config.host}' or port '${this.config.port}' is invalid`)
return
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment