Skip to content

167 activity log v2#178

Merged
dcolleoni merged 16 commits intodevelopfrom
167_ActivityLogV2
Jan 20, 2023
Merged

167 activity log v2#178
dcolleoni merged 16 commits intodevelopfrom
167_ActivityLogV2

Conversation

@andrey-katz-systemorph
Copy link
Copy Markdown
Contributor

Implement a slightly different API for saving the logs
.WithLogsRecordedInDb(....).ExecuteAsync() instead of ExecuteWithStoreActivityAsync() and changes all the PV and template uses accordingly. Changing the type of SourceId from Guid to Guid? to avoid fake IDs in failed imports.

@andrey-katz-systemorph andrey-katz-systemorph linked an issue Jan 17, 2023 that may be closed by this pull request
akatz and others added 3 commits January 18, 2023 17:53
@dcolleoni dcolleoni added the enhancement New feature or request label Jan 19, 2023
@dcolleoni dcolleoni added this to the v1.1.0 milestone Jan 19, 2023
@dcolleoni
Copy link
Copy Markdown
Contributor

One observation is that if the import of the file fails the error is captured in the activity log. This means no exception is thrown and the try catch performs then the code in the try section. In this case it stores the activity with a SourceId and the corresponding FileSource even though the activity failed.

@dcolleoni dcolleoni merged commit b99364a into develop Jan 20, 2023
@dcolleoni dcolleoni deleted the 167_ActivityLogV2 branch January 20, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

Improve Activity log methods

3 participants