Added error printing.