Set error output as configurable, if nil, do not print errors