Allows global disabling of error messages in case someone wants that

would you mind remove this diff and give me again the PR

and thanks for this change!! :beers: