code: def test_additional_info_crash_msg(
      make_dummy_ta: Callable[..., TargetFunctionRunner]
  ) -> None:
      """
      We want to make sure we catch errors as additional info, and in particular when
      doing multiprocessing runs, we want to make sure we capture dask exceptions
      """
      single_worker = make_dummy_ta(target_failed, n_workers=2)
      runner = DaskParallelRunner(single_worker=single_worker)
  
      trial_info = TrialInfo(
          config=2, instance="test", seed=0, budget=0.0
      )
      runner.submit_trial(trial_info)
      runner.wait()
      trial_info, run_value = next(runner.iter_results())
  
      # Make sure the traceback message is included
      assert "traceback" in run_value.additional_info
      assert "RuntimeError" in run_value.additional_info["traceback"]
  
file_path: SMAC3/tests/test_runner/test_dask_runner.py
imports: from __future__ import annotations
  from typing import Callable
  import time
  import pytest
  from ConfigSpace import ConfigurationSpace
  from dask.distributed import Client
  from smac.runhistory import TrialInfo, TrialValue
  from smac.runner.abstract_runner import StatusType
  from smac.runner.dask_runner import DaskParallelRunner
  from smac.runner.target_function_runner import TargetFunctionRunner
  from smac.scenario import Scenario
label_desc: Use image node_id 7 for calling a global function with example usage: test_additional_info_crash_msg(make_dummy_ta) without return types