feat: clearer error log

This commit is contained in:
amhsirak
2024-11-19 16:57:42 +05:30
parent 7abcc3275a
commit f027cabdf3

View File

@@ -495,7 +495,7 @@ async function createWorkflowAndStoreMetadata(id: string, userId: string) {
} catch (e) {
const { message } = e as Error;
logger.log('info', `Error while scheduling a run with id: ${id}`);
console.log(message);
console.log(`Error scheduling run:`, message);
return {
success: false,
error: message,