Print error message if subprocess fails.