Skip to content

[SimpleHistory Feature Request] Add corrupted file auto-fix #171

@fidodido48

Description

@fidodido48

Hi,
just had an issue with a history file been corrupted:

[Sunday/August 18/08/2024 03:57:25] "Sam Divine B2B Low Steppa | 2024 Defected #Livestream at Ushuaïa Ibiza" | https://www.youtube.com/w

Unfinished data save resulted in missing/unset vars, which was pointing at a script error instead (very misleading, hate this kind). Deleting the line fixed the problem.
I think youre missing data validation during file load.

Try to read/check all needed data for the whole line and if something isn't right, just discard that entry as incomplete/bad.

Shouldn't be hard to do, right?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions