Add error printing to example.