Skip to content

Commit

Permalink
fix(firestore-bigquery-export): switched out log for actual enum value
Browse files Browse the repository at this point in the history
  • Loading branch information
cabljac committed Nov 6, 2024
1 parent ea218c3 commit b671c72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion firestore-bigquery-export/functions/src/logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,12 @@ export const logFailedEventAction = (
operation: ChangeType,
error: Error
) => {
const changeType = ChangeType[operation];

logger.error(action, {
document_name,
event_id,
operation,
operation: changeType,
error,
});
};

0 comments on commit b671c72

Please sign in to comment.