This commit is contained in:
Owen Schwartz 2024-09-29 14:26:16 -04:00
parent 819a0ecb43
commit 8c9d19f6cd
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
4 changed files with 58 additions and 3 deletions

View file

@ -45,7 +45,7 @@ export const receiveBandwidth = async (req: Request, res: Response, next: NextFu
res.status(200).json({ message: 'Bandwidth data updated successfully' });
} catch (error) {
console.error('Error updating bandwidth data:', error);
logger.error('Error updating bandwidth data:', error);
res.status(500).json({ error: 'Internal server error' });
}
};