fix: warn not error in a log
This commit is contained in:
parent
3b33e7f9ae
commit
d9d6d2b3bb
@ -52,7 +52,7 @@ export default class Website {
|
||||
.timestamp(Date.now())
|
||||
);
|
||||
} catch (err) {
|
||||
logger.error(`Failed to ping ${this.name}:`, err);
|
||||
logger.warn(`Failed to ping ${this.name}:`, err);
|
||||
influx.writePoint(
|
||||
new Point("websiteStatus")
|
||||
.tag("name", this.name)
|
||||
|
Loading…
Reference in New Issue
Block a user