fix(logging): replace console.log with logger.error in editLocation handler (#26037)
This commit is contained in:
1 parent
7dcf4ee5c8
commit
853358d9c4
1 file changed
+1
-1
@@ -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