misc: added error log

This commit is contained in:
Sheen Capadngan
2024-06-14 02:55:25 +08:00
parent c9e56e4e9f
commit b52aebfd92
@@ -45,6 +45,7 @@ export const rateLimitServiceFactory = ({ rateLimitDAL }: TRateLimitServiceFacto
} }
return rateLimit; return rateLimit;
} catch (err) { } catch (err) {
logger.error("Error fetching rate limits %o", err);
return undefined; return undefined;
} }
}; };