Make sure to respond if any errors encountered