We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea218c3 commit a64c308Copy full SHA for a64c308
firestore-bigquery-export/functions/src/logs.ts
@@ -204,10 +204,17 @@ export const logFailedEventAction = (
204
operation: ChangeType,
205
error: Error
206
) => {
207
+ const changeTypeMap = {
208
+ 0: "CREATE",
209
+ 1: "DELETE",
210
+ 2: "UPDATE",
211
+ 3: "IMPORT",
212
+ };
213
+
214
logger.error(action, {
215
document_name,
216
event_id,
- operation,
217
+ operation: changeTypeMap[operation],
218
error,
219
});
220
};
0 commit comments