diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.cpp index 1419943af9..ead6405019 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.cpp @@ -195,7 +195,7 @@ ThrowCompletionOr<DeprecatedString> temporal_month_day_to_string(VM& vm, PlainMo } // 8. Let calendarString be ! FormatCalendarAnnotation(calendarID, showCalendar). - auto calendar_string = format_calendar_annotation(calendar_id, show_calendar); + auto calendar_string = MUST_OR_THROW_OOM(format_calendar_annotation(vm, calendar_id, show_calendar)); // 9. Set result to the string-concatenation of result and calendarString. // 10. Return result. |