Skip to content

Missing files are silently ignored #92

@Rijgersberg

Description

@Rijgersberg

I observe that missing files are silently ignored when using load_name:

import confidence


config = confidence.load_name('this_file_does_not_exist')
print(config)

-->

<confidence.models.Configuration keys={}>

Process finished with exit code 0

From the documentation in io.loadf() and #21 it seems to be that this is not the intended behavior.

Unfortunately, I could not immediatly figure out why the code is misbehaving: it looks fine to me but my debugger is failing to implement the proper breakpoints inside of Confidence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions