This commit is contained in:
Ben Martin 2024-05-20 14:35:07 +01:00
parent 0cb1017bd6
commit a1d34b69a0
No known key found for this signature in database
GPG Key ID: F7DE36FC8CE5FE8B

View File

@ -30,7 +30,7 @@ export default async function handler(req, res) {
// if monitor is set to "true", use the href as the monitor target // if monitor is set to "true", use the href as the monitor target
if (!href) { if (!href) {
logger.error( logger.error(
`Monitoring requestd for service '${service}' but no url specified.\n\tEither set monitor to a url or set href`, `Monitoring requested for service '${service}' but no url specified.\n\tEither set monitor to a url or set href`,
); );
return res.status(400).send({ return res.status(400).send({
error: "No url specified for monitor, see logs.", error: "No url specified for monitor, see logs.",