Skip to content

Allow to write audit logs on exceptions even if disabled for GET requests - #2625

Merged
hikalkan merged 10 commits into
abpframework:devfrom
gterdem:pr/2277
Feb 13, 2020
Merged

Allow to write audit logs on exceptions even if disabled for GET requests#2625
hikalkan merged 10 commits into
abpframework:devfrom
gterdem:pr/2277

Conversation

@gterdem

@gterdem gterdem commented Jan 13, 2020

Copy link
Copy Markdown
Contributor

Resolves #2277

Updated:

  • IAuditLogSaveHandle with new AddException method.
  • AbpAuditingMiddleware to catch exceptions.

Added Tests:

  • Mvc\Auditing\AuditTests

@hikalkan hikalkan changed the title fixes #2277 Allow to write audit logs on exceptions even if disabled for GET requests Jan 13, 2020
@hikalkan hikalkan added this to the 2.1 milestone Jan 13, 2020
@hikalkan
hikalkan self-requested a review January 13, 2020 17:30
@hikalkan
hikalkan merged commit ef330c3 into abpframework:dev Feb 13, 2020
hikalkan added a commit that referenced this pull request Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow to write audit logs on exceptions even if disabled for GET requests

2 participants