mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-21 22:19:07 -04:00
Improve printing to console
This commit is contained in:
parent
78f5d2cd8b
commit
2bff62cade
3 changed files with 10 additions and 10 deletions
|
@ -19,7 +19,7 @@ const version = require('../package.json').version;
|
|||
const hostname = args.host || "0.0.0.0"
|
||||
const port = args.port || 3001
|
||||
|
||||
console.log("Version: " + version)
|
||||
console.info("Version: " + version)
|
||||
|
||||
console.log("Creating express and socket.io instance")
|
||||
const app = express();
|
||||
|
@ -236,7 +236,7 @@ let needSetup = false;
|
|||
});
|
||||
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
console.error(e)
|
||||
callback({
|
||||
ok: false,
|
||||
msg: e.message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue