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

    Parameters

    • callback: (() => void)

      Function to call.

        • (): void
        • Returns void

    Returns void