Skip to content

Raising exceptions instead of prints/returns #3

@prashantsengar

Description

@prashantsengar

In the code, we are handling the exceptions on our own in most of the cases. Example, in makeFolders we return True/False and do not raise Exceptions. This leads to the user not being able to find out the exact reason the code is not working.

We should rather raise exceptions in such cases.

But in cases like where we are downloading the files, it is better to print or add logging statements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions