Add console output for errors