add err to console