fix(logging): replace console.log with logger.error in editLocation handler (#26037)

This commit is contained in:
Prateek Dwivedi
2025-12-19 08:15:44 +00:00
committed by GitHub
parent 7dcf4ee5c8
commit 853358d9c4
@@ -307,7 +307,7 @@ export async function editLocationHandler({ ctx, input }: EditLocationOptions) {
booking?.eventType?.metadata as EventTypeMetadata
);
} catch (error) {
console.log("Error sending LocationChangeEmails", safeStringify(error));
logger.error("Error sending LocationChangeEmails", safeStringify(error));
}
return { message: "Location updated" };