feat(espocrm): add logging method to EspoCRMAPI for improved message handling
fix(calendar_sync): correct cron expression for calendar sync job
This commit is contained in:
@@ -67,6 +67,11 @@ class EspoCRMAPI:
|
||||
else:
|
||||
self.logger.warning("⚠️ Redis unavailable - caching disabled")
|
||||
|
||||
def _log(self, message: str, level: str = 'info') -> None:
|
||||
"""Delegate to IntegrationLogger with optional level"""
|
||||
log_func = getattr(self.logger, level, self.logger.info)
|
||||
log_func(message)
|
||||
|
||||
def _get_headers(self) -> Dict[str, str]:
|
||||
"""Generate request headers with API key"""
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user