Skip to content

Segmentation fault when output directory for log file parameter is missing #37

@petersbr

Description

@petersbr

Hello ,

This is a suggestion to add some basic parameter validation so that it is easier to figure out what is wrong with command calls. Receiving a segmentation fault is much harder to interpret that: something like "Specified output directory X is missing" or just creating it on the fly.

In my case I was passing "--logfile logs/strawberry.log" but "logs" didn't exist and I just received a segfault.

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