Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
tracked master assertion ref instead of filename
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldisaro authored and gquadrati committed Apr 12, 2023
1 parent c36c9ec commit 9e14945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ActivatePubKey/__tests__/handler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ describe("ActivatePubKey - Errors", () => {
expect(loggerMock.trackEvent).toHaveBeenCalledWith({
name: "lollipop.error.activate-pubkey",
properties: {
assertion_filename: `${aFiscalCode}-${aValidSha256AssertionRef}`,
master_assertion_ref: aValidSha512AssertionRef,
message: `${FN_LOG_NAME} | Error while writing pop document: ${error.kind} - ${error.detail} - ${error.message}`
},
tagOverrides: {
Expand Down
2 changes: 1 addition & 1 deletion ActivatePubKey/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const activatePubKeyForAssertionRef = (
eventLog.taskEither.errorLeft(error => [
`${FN_LOG_NAME} | Error while writing pop document: ${error.kind} - ${error.detail} - ${error.message}`,
{
assertion_filename: assertionFileName,
master_assertion_ref: assertionRef,
name: FN_LOG_NAME
}
]),
Expand Down

0 comments on commit 9e14945

Please sign in to comment.