Skip to content

Commit

Permalink
change logging
Browse files Browse the repository at this point in the history
  • Loading branch information
craftycram committed Feb 13, 2024
1 parent 8f8d3b9 commit 79cbe52
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,10 @@ app.post('/', async (req: Request, res: Response): Promise<void> => {
}

if (!updatingStacks.length) {
res.status(400).send('NO_SERVICES_FOUND');
console.log('ignoring webhook, no services found');
res.status(400).send('NO_SERVICE_FOUND_FOR_PACKAGE_URL');
console.log(
`invalid webhook. no service found for package ${reqPackageUrl}`,
);
return;
}

Expand Down

0 comments on commit 79cbe52

Please sign in to comment.