logging of errors instead of showing