• Call a callback function, catch an error if it throws, and log the error without rethrowing.

    Parameters

    • callback: () => void

      Function to call.

    Returns void