add  error logs from cmd