Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide descriptive error when Simple Replay is ran without audit log being available. #583

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pvbouwel
Copy link
Contributor

@pvbouwel pvbouwel commented Sep 8, 2021

Issue #, if available: Related to #546 (no exact match but other code paths seem to have been taken care of already.

Description of changes:
When no audit log is available an IndexError is thrown which is not clear
for all users. This minor change will explain in a critical message that logs are not available yet and should be enabled and awaited.

Note that this code path is only hit if there is not a single useractivitylog file in the audit prefix. If there is a useractivitylog file then simple replay will correctly identify if there are no records for the provided time range.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…lear

for all users. This minor change will log a critical error with an explanation why it errors out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant