code: def test_uncertainty_with_error(hourly_data_with_reg, params):
      """Tests model still produces results when uncertainty model fails."""
      with LogCapture(cst.LOGGER_NAME) as log_capture:
          params["coverage"] = 0.95
          params["uncertainty_dict"] = dict(
              uncertainty_method=UncertaintyMethodEnum.simple_conditional_residuals.name,
              params={"value_col": "non_exist"},
          )
          model = MultistageForecastEstimator(**params)
          # fit
          model.fit(hourly_data_with_reg)
          # predict
          pred = model.predict(
              pd.DataFrame(
                  {
                      cst.TIME_COL: pd.date_range(
                          start=hourly_data_with_reg[
                              cst.TIME_COL
                          ].max(),
                          freq="H",
                          periods=13,
                      )[1:],
                      cst.VALUE_COL: np.nan,
                  }
              )
          )
          assert pred is not None
          assert cst.PREDICTED_LOWER_COL not in pred
          assert cst.PREDICTED_UPPER_COL not in pred
          assert (
              cst.LOGGER_NAME,
              "WARNING",
              "The following errors occurred during fitting the uncertainty model, "
              "the uncertainty model is skipped. `value_col` non_exist not found in `train_df`.",
          ) in log_capture.actual()
  
imports: import datetime
  import numpy
  import pandas
  import pytest
  from testfixtures import LogCapture
  import greykite.common.constants
  from greykite.common.testing_utils import generate_df_for_tests
  from greykite.sklearn.estimator.lag_based_estimator import LagBasedEstimator
  from greykite.sklearn.estimator.multistage_forecast_estimator import MultistageForecastEstimator
  from greykite.sklearn.estimator.multistage_forecast_estimator import MultistageForecastModelConfig
  from greykite.sklearn.estimator.simple_silverkite_estimator import SimpleSilverkiteEstimator
  from greykite.sklearn.uncertainty.uncertainty_methods import UncertaintyMethodEnum
label_desc: Use image node_id 26 for calling a global function with example usage: test_uncertainty_with_error(hourly_data_with_reg, params) without return types