mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
changing from error to debug
This commit is contained in:
parent
e720e1bacf
commit
1f1c068eea
|
@ -19,6 +19,6 @@ export async function sendSlackWebhook(
|
||||||
});
|
});
|
||||||
Logger.log("Webhook sent successfully:", response.data);
|
Logger.log("Webhook sent successfully:", response.data);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
Logger.error(`Error sending webhook: ${error}`);
|
Logger.debug(`Error sending webhook: ${error}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,6 +51,6 @@ export const callWebhook = async (teamId: string, jobId: string,data: any) => {
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
Logger.error(`Error sending webhook for team ID: ${teamId}, error: ${error.message}`);
|
Logger.debug(`Error sending webhook for team ID: ${teamId}, error: ${error.message}`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user