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

Add Control '[NFX]: Failed to load data..' annoying printing issue with flag value. #258

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jwhwangbirdview
Copy link

@jwhwangbirdview jwhwangbirdview commented Apr 5, 2023

Problem

while netfox is setting, '[NFX]: Failed to load data..' error statement keeps displaying all over the console.

Sceenshot

Screenshot 2023-04-05 at 5 51 56 PM

Solution

This issue is already reported by @iVaschee ( #249 )
but no one suggests good solution for this. and i tried debugging the problem
so what i suspect is Data(contentsOf: fileURL) part has a authority-to-access problem or some address issue.
I cannot find the good solution for this without change the core logic other than just controling printing with flag.

public static func setDebugErrorPrintEnabled(with enabled: Bool) {
        debugErrorPrintEnabled = enabled
 }

I think right now the logic is not affected by this kind of flag-controlled logic.
'[NFX]: Failed to load data..' error is so annoying and making it hard to see other invaluable logs.
So I hope to be confirmed this alternative code. Thanks

@jwhwangbirdview jwhwangbirdview changed the title Remove '[NFX]: Failed to load data..' annoying printing issue. Add Control '[NFX]: Failed to load data..' annoying printing issue with flag value. Apr 6, 2023
@wrutkowski-tyro
Copy link

#244 is fixing the same thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants