Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace some u.Printf calls with u.Errorf in handlers.go #422

Merged
merged 2 commits into from
May 7, 2024

Conversation

Marcool04
Copy link
Contributor

@Marcool04 Marcool04 commented Apr 29, 2024

Hi there,

I was hit with an error today that stated:

handlers.go:197: Extraction Error: blabla.rar: os.MkdirAll: mkdir /home/transmission/Lidarr/lidarr/blabla.rar_unpackerred: permission denied

except that this showed with an [INFO] priority level, and so I missed it for a while before reading through again.

I took the liberty of making this simple change so that message (and one other I feel is an error rather than an "INFO") will be printed as such.

Thanks for taking this into consideration.

Regards
Mark

Copy link
Collaborator

@davidnewhall davidnewhall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to contribute. I agree the INFO you got should say ERROR.

pkg/unpackerr/handlers.go Outdated Show resolved Hide resolved
pkg/unpackerr/handlers.go Outdated Show resolved Hide resolved
@davidnewhall davidnewhall disabled auto-merge May 7, 2024 04:07
@davidnewhall davidnewhall merged commit 27c9ad8 into Unpackerr:main May 7, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants