Skip to content

[FEATURE] pilerimport should print out errors (or have a "verbose" parameter) #345

@larsen0815

Description

@larsen0815

Describe the feature
Currently, pilerimport only prints out errors to syslog. As a new user, this is confusing as the only thing you see first is "failed to import" without further explanation. Also, when debugging why a mail file cannot be imported, you've got to have two sessions open and switch between them to test and check the output, making it harder.

pilerimport should directly show errors/warnings on stdout.

In case this is not possible, not wanted, or has other disadvantages, there should be a "-v" (verbose mode) parameter, analog to the "-q" (quite mode) parameter. Using "-vv" could make it more verbose, like in many other programs.

Additional context
I could find some other cases where the user was confused by only getting "failed to import":
#230 (comment)
#133 (comment)
#334 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions