Added some logs to test IO error