fix(logging): replace console.log with logger.error in editLocation handler (#26037)
This commit is contained in:
@@ -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" };
|
||||
|
||||
Reference in New Issue
Block a user