From 35b43ca00d76b6d1734036d20ff71e6f37bbcd24 Mon Sep 17 00:00:00 2001 From: Chip Kent <5250374+chipkent@users.noreply.github.com> Date: Wed, 29 Nov 2023 14:34:56 -0700 Subject: [PATCH] Update py/server/deephaven/calendar.py Co-authored-by: Jianfeng Mao <4297243+jmao-denver@users.noreply.github.com> --- py/server/deephaven/calendar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/server/deephaven/calendar.py b/py/server/deephaven/calendar.py index 629af73dd54..79a56d38a84 100644 --- a/py/server/deephaven/calendar.py +++ b/py/server/deephaven/calendar.py @@ -41,7 +41,7 @@ def add_calendar(cal: Union[BusinessCalendar, str]) -> None: """ if cal is None: - raise DHError("cal must be specified") + raise DHError(message="cal must be specified") elif isinstance(cal, str): try: _JCalendars.addCalendarFromFile(cal)