Stupid mistake in log_error