Printing useful messages instead of error and data.