Added print line before error