diff --git a/Userland/Libraries/LibWeb/Streams/UnderlyingSource.cpp b/Userland/Libraries/LibWeb/Streams/UnderlyingSource.cpp index 644f468b8d..b2d92f6cb9 100644 --- a/Userland/Libraries/LibWeb/Streams/UnderlyingSource.cpp +++ b/Userland/Libraries/LibWeb/Streams/UnderlyingSource.cpp @@ -35,7 +35,7 @@ JS::ThrowCompletionOr UnderlyingSource::from_value(JS::VM& vm, if (type_string == "bytes"sv) underlying_source.type = ReadableStreamType::Bytes; else - return vm.throw_completion(ByteString::formatted("Unknown stream type '{}'", type_value)); + return vm.throw_completion(MUST(String::formatted("Unknown stream type '{}'", type_value))); } if (TRY(object.has_property("autoAllocateChunkSize"))) {