fix: warn not error in a log
All checks were successful
deploy / deploy (push) Successful in 19s
Publish Docker Image / docker (push) Successful in 43s

This commit is contained in:
Lee 2024-01-04 01:22:14 +00:00
parent 3b33e7f9ae
commit d9d6d2b3bb

@ -52,7 +52,7 @@ export default class Website {
.timestamp(Date.now()) .timestamp(Date.now())
); );
} catch (err) { } catch (err) {
logger.error(`Failed to ping ${this.name}:`, err); logger.warn(`Failed to ping ${this.name}:`, err);
influx.writePoint( influx.writePoint(
new Point("websiteStatus") new Point("websiteStatus")
.tag("name", this.name) .tag("name", this.name)