feat: implement comprehensive notification engine with policies, preferences, and automated dispatching services
This commit is contained in:
@@ -42,7 +42,8 @@ export const logDone = (message: string) => {
|
||||
};
|
||||
|
||||
export const logError = (message: string, error: any) => {
|
||||
logger.info(`❌ ${bold}${message}${reset}\n\r`, error);
|
||||
const details = error instanceof Error ? error.stack || error.message : String(error || "Unknown error");
|
||||
logger.error(`❌ ${bold}${message}${reset}\n${details}`);
|
||||
};
|
||||
|
||||
export const logWarn = (message: string) => {
|
||||
|
||||
Reference in New Issue
Block a user