diff --git a/CHANGES.md b/CHANGES.md index f00acdd40..2f238a796 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -489,6 +489,12 @@ To be released. objects without the extension. [[#1037], [#1038]] - Added the `trustEmbeddedObjects` type schema option so embedded metadata identifiers need not establish trust in linked actors. [[#1037], [#1038]] + - Changed suppressed vocabulary fetch and parsing failures to log at the + warning level so that intentionally handled failures are not reported as + application errors. [[#933], [#1035] by Jae Hui Hong\] + +[#933]: https://github.com/fedify-dev/fedify/issues/933 +[#1035]: https://github.com/fedify-dev/fedify/pull/1035 Version 2.3.7 diff --git a/changes.d/vocab-tools/suppressed-error-log-level.md b/changes.d/vocab-tools/suppressed-error-log-level.md new file mode 100644 index 000000000..5962d3cbd --- /dev/null +++ b/changes.d/vocab-tools/suppressed-error-log-level.md @@ -0,0 +1,8 @@ +--- +links: + '#1035': https://github.com/fedify-dev/fedify/pull/1035 + '#933': https://github.com/fedify-dev/fedify/issues/933 +--- + - Changed suppressed vocabulary fetch and parsing failures to log at the + warning level so that intentionally handled failures are not reported as + application errors. [[#933], [#1035] by Jae Hui Hong] diff --git a/packages/fedify/src/utils/docloader.ts b/packages/fedify/src/utils/docloader.ts index 1367341d7..5b2e38c51 100644 --- a/packages/fedify/src/utils/docloader.ts +++ b/packages/fedify/src/utils/docloader.ts @@ -84,7 +84,7 @@ export function getAuthenticatedDocumentLoader( validateRedirect: validateUrl, }, ); - return getRemoteDocument(url, response, load); + return getRemoteDocument(url, response, load, options); } async function validateUrl(url: string): Promise { diff --git a/packages/vocab-runtime/src/docloader.ts b/packages/vocab-runtime/src/docloader.ts index d9aa5adf0..454eabbf0 100644 --- a/packages/vocab-runtime/src/docloader.ts +++ b/packages/vocab-runtime/src/docloader.ts @@ -46,6 +46,13 @@ export interface DocumentLoaderOptions { * @since 1.8.0 */ signal?: AbortSignal; + + /** + * Whether to lower error-level logs for recoverable document loading + * failures to warning-level logs. The loader still throws the error. + * @default `false` + */ + suppressError?: boolean; } /** @@ -171,6 +178,7 @@ async function readBoundedText( * @param url The URL of the document to load. * @param response The response to get the document from. * @param fetch The function to fetch the document. + * @param options The options for loading the document. * @returns The loaded remote document. * @throws {FetchError} If the response is not OK. * @internal @@ -182,18 +190,31 @@ export async function getRemoteDocument( url: string, options?: DocumentLoaderOptions, ) => Promise, + options?: DocumentLoaderOptions, ): Promise { const documentUrl = response.url === "" ? url : response.url; const docUrl = new URL(documentUrl); if (!response.ok) { - logger.error( - "Failed to fetch document: {status} {url} {headers}", - { - status: response.status, - url: documentUrl, - headers: Object.fromEntries(response.headers.entries()), - }, - ); + if (options?.suppressError) { + logger.warn( + "Failed to fetch document: {status} {url} {headers}", + { + status: response.status, + url: documentUrl, + headers: Object.fromEntries(response.headers.entries()), + }, + ); + } else { + logger.error( + "Failed to fetch document: {status} {url} {headers}", + { + status: response.status, + url: documentUrl, + headers: Object.fromEntries(response.headers.entries()), + }, + ); + } + throw new FetchError( documentUrl, `HTTP ${response.status}: ${documentUrl}`, @@ -242,7 +263,7 @@ export async function getRemoteDocument( "Found alternate document: {alternateUrl} from {url}", { alternateUrl: altUri.href, url: documentUrl }, ); - return await fetch(altUri.href); + return await fetch(altUri.href, options); } } } @@ -302,7 +323,7 @@ export async function getRemoteDocument( "Found alternate document: {alternateUrl} from {url}", { alternateUrl: attribs.href, url: documentUrl }, ); - return await fetch(new URL(attribs.href, docUrl).href); + return await fetch(new URL(attribs.href, docUrl).href, options); } } try { @@ -456,7 +477,12 @@ export function getDocumentLoader( return await load(redirectUrl, options, redirected + 1, visited); } - const result = await getRemoteDocument(currentUrl, response, load); + const result = await getRemoteDocument( + currentUrl, + response, + load, + options, + ); span.setAttribute("docloader.document_url", result.documentUrl); if (result.contextUrl != null) { span.setAttribute("docloader.context_url", result.contextUrl); diff --git a/packages/vocab-tools/src/__snapshots__/class.test.ts.deno.snap b/packages/vocab-tools/src/__snapshots__/class.test.ts.deno.snap index 000a5ab27..6529a9f77 100644 --- a/packages/vocab-tools/src/__snapshots__/class.test.ts.deno.snap +++ b/packages/vocab-tools/src/__snapshots__/class.test.ts.deno.snap @@ -2255,7 +2255,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -2263,7 +2265,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -2305,7 +2307,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -2504,7 +2506,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -2512,7 +2516,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -2554,7 +2558,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -2878,7 +2882,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -2886,7 +2892,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -2928,7 +2934,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -3243,7 +3249,9 @@ get contents(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -3251,7 +3259,7 @@ get contents(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -3293,7 +3301,7 @@ get contents(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -3529,7 +3537,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -3537,7 +3547,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -3579,7 +3589,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -3767,7 +3777,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -3775,7 +3787,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -3817,7 +3829,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -4126,7 +4138,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -4134,7 +4148,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -4176,7 +4190,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -4485,7 +4499,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -4493,7 +4509,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -4535,7 +4551,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -4830,7 +4846,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -4838,7 +4856,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -4880,7 +4898,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -5175,7 +5193,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -5183,7 +5203,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -5225,7 +5245,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -5531,7 +5551,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -5539,7 +5561,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -5581,7 +5603,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -5759,7 +5781,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -5767,7 +5791,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -5809,7 +5833,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -5993,7 +6017,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -6001,7 +6027,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -6043,7 +6069,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -6227,7 +6253,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -6235,7 +6263,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -6277,7 +6305,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -6495,7 +6523,9 @@ get summaries(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -6503,7 +6533,7 @@ get summaries(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -6545,7 +6575,7 @@ get summaries(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -6770,7 +6800,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -6778,7 +6810,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -6820,7 +6852,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -7106,7 +7138,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -7114,7 +7148,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -7156,7 +7190,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -7442,7 +7476,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -7450,7 +7486,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -7492,7 +7528,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -7778,7 +7814,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -7786,7 +7824,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -7828,7 +7866,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -8178,7 +8216,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -8186,7 +8226,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -8228,7 +8268,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -8551,7 +8591,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -8559,7 +8601,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -8601,7 +8643,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -8779,7 +8821,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -8787,7 +8831,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -8829,7 +8873,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -9007,7 +9051,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -9015,7 +9061,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -9057,7 +9103,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -14392,7 +14438,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -14400,7 +14448,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -14442,7 +14490,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -14644,7 +14692,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -14652,7 +14702,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -14694,7 +14744,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -16099,7 +16149,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -16107,7 +16159,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -16149,7 +16201,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -16473,7 +16525,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -16481,7 +16535,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -16523,7 +16577,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -16811,7 +16865,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -16819,7 +16875,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -16861,7 +16917,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -17155,7 +17211,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -17163,7 +17221,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -17205,7 +17263,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -17493,7 +17551,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -17501,7 +17561,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -17543,7 +17603,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -17833,7 +17893,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -17841,7 +17903,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -17883,7 +17945,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -21089,7 +21151,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -21097,7 +21161,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -21139,7 +21203,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -21317,7 +21381,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -21325,7 +21391,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -21367,7 +21433,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -24432,7 +24498,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -24440,7 +24508,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -24482,7 +24550,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -24660,7 +24728,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -24668,7 +24738,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -24710,7 +24780,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -25954,7 +26024,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -25962,7 +26034,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -26004,7 +26076,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -26182,7 +26254,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -26190,7 +26264,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -26232,7 +26306,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -27476,7 +27550,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -27484,7 +27560,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -27526,7 +27602,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -27703,7 +27779,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -27711,7 +27789,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -27753,7 +27831,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -29273,7 +29351,9 @@ urls?: ((URL | Link))[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -29281,7 +29361,7 @@ urls?: ((URL | Link))[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -29323,7 +29403,7 @@ urls?: ((URL | Link))[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -30758,7 +30838,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -30766,7 +30848,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -30808,7 +30890,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -30984,7 +31066,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -30992,7 +31076,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -31034,7 +31118,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -32617,7 +32701,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -32625,7 +32711,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -32667,7 +32753,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -32845,7 +32931,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -32853,7 +32941,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -32895,7 +32983,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -33073,7 +33161,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -33081,7 +33171,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -33123,7 +33213,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -33301,7 +33391,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -33309,7 +33401,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -33351,7 +33443,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -33540,7 +33632,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -33548,7 +33642,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -33590,7 +33684,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -33767,7 +33861,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -33775,7 +33871,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -33817,7 +33913,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -33994,7 +34090,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34002,7 +34100,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -34044,7 +34142,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -34221,7 +34319,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34229,7 +34329,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -34271,7 +34371,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -34448,7 +34548,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34456,7 +34558,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -34498,7 +34600,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -34675,7 +34777,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34683,7 +34787,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -34725,7 +34829,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -34902,7 +35006,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34910,7 +35016,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -34952,7 +35058,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -35129,7 +35235,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -35137,7 +35245,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -35179,7 +35287,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -37126,7 +37234,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -37134,7 +37244,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -37176,7 +37286,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -38600,7 +38710,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -38608,7 +38720,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -38650,7 +38762,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -38826,7 +38938,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -38834,7 +38948,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -38876,7 +38990,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -40803,7 +40917,9 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL | const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -40811,7 +40927,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL | }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -40853,7 +40969,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL | return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -41906,7 +42022,9 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -41914,7 +42032,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -41956,7 +42074,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -42898,7 +43016,9 @@ controller?: Application | Group | Organization | Person | Service | URL | null; const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -42906,7 +43026,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null; }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -42948,7 +43068,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null; return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -49402,7 +49522,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -49410,7 +49532,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -49452,7 +49574,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -49734,7 +49856,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -49742,7 +49866,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -49784,7 +49908,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -50120,7 +50244,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -50128,7 +50254,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -50170,7 +50296,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -50368,7 +50494,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -50376,7 +50504,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -50418,7 +50546,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -50613,7 +50741,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -50621,7 +50751,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -50663,7 +50793,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -50844,7 +50974,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -50852,7 +50984,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -50894,7 +51026,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -51078,7 +51210,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -51086,7 +51220,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -51128,7 +51262,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -51310,7 +51444,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -51318,7 +51454,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -51360,7 +51496,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -51540,7 +51676,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -51548,7 +51686,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -51590,7 +51728,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -51770,7 +51908,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -51778,7 +51918,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -51820,7 +51960,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -51997,7 +52137,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -52005,7 +52147,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -52047,7 +52189,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -52301,7 +52443,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -52309,7 +52453,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -52351,7 +52495,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -52563,7 +52707,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -52571,7 +52717,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -52613,7 +52759,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -52939,7 +53085,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -52947,7 +53095,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -52989,7 +53137,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -57006,7 +57154,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -57014,7 +57164,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -57056,7 +57206,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -57258,7 +57408,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -57266,7 +57418,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -57308,7 +57460,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -60275,7 +60427,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -60283,7 +60437,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -60325,7 +60479,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -60503,7 +60657,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -60511,7 +60667,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -60553,7 +60709,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -60729,7 +60885,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -60737,7 +60895,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -60779,7 +60937,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -66404,7 +66562,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -66412,7 +66572,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -66454,7 +66614,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -66736,7 +66896,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -66744,7 +66906,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -66786,7 +66948,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -67122,7 +67284,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -67130,7 +67294,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -67172,7 +67336,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -67370,7 +67534,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -67378,7 +67544,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -67420,7 +67586,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -67615,7 +67781,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -67623,7 +67791,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -67665,7 +67833,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -67846,7 +68014,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -67854,7 +68024,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -67896,7 +68066,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -68080,7 +68250,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -68088,7 +68260,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -68130,7 +68302,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -68312,7 +68484,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -68320,7 +68494,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -68362,7 +68536,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -68542,7 +68716,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -68550,7 +68726,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -68592,7 +68768,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -68772,7 +68948,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -68780,7 +68958,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -68822,7 +69000,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -68999,7 +69177,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -69007,7 +69187,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -69049,7 +69229,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -69303,7 +69483,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -69311,7 +69493,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -69353,7 +69535,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -69565,7 +69747,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -69573,7 +69757,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -69615,7 +69799,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -69941,7 +70125,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -69949,7 +70135,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -69991,7 +70177,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -73679,7 +73865,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -73687,7 +73875,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -73729,7 +73917,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -79097,7 +79285,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -79105,7 +79295,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -79147,7 +79337,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -79349,7 +79539,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -79357,7 +79549,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -79399,7 +79591,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -80355,7 +80547,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -80363,7 +80557,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -80405,7 +80599,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -82241,7 +82435,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -82249,7 +82445,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -82291,7 +82487,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -82573,7 +82769,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -82581,7 +82779,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -82623,7 +82821,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -82959,7 +83157,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -82967,7 +83167,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -83009,7 +83209,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -83207,7 +83407,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -83215,7 +83417,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -83257,7 +83459,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -83452,7 +83654,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -83460,7 +83664,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -83502,7 +83706,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -83683,7 +83887,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -83691,7 +83897,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -83733,7 +83939,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -83917,7 +84123,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -83925,7 +84133,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -83967,7 +84175,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -84149,7 +84357,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -84157,7 +84367,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -84199,7 +84409,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -84379,7 +84589,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -84387,7 +84599,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -84429,7 +84641,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -84609,7 +84821,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -84617,7 +84831,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -84659,7 +84873,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -84836,7 +85050,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -84844,7 +85060,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -84886,7 +85102,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -85140,7 +85356,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -85148,7 +85366,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -85190,7 +85408,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -85402,7 +85620,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -85410,7 +85630,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -85452,7 +85672,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -85778,7 +85998,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -85786,7 +86008,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -85828,7 +86050,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -90391,7 +90613,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -90399,7 +90623,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -90441,7 +90665,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -90723,7 +90947,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -90731,7 +90957,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -90773,7 +90999,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -91109,7 +91335,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -91117,7 +91345,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -91159,7 +91387,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -91357,7 +91585,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -91365,7 +91595,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -91407,7 +91637,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -91602,7 +91832,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -91610,7 +91842,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -91652,7 +91884,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -91833,7 +92065,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -91841,7 +92075,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -91883,7 +92117,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -92067,7 +92301,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92075,7 +92311,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -92117,7 +92353,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -92299,7 +92535,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92307,7 +92545,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -92349,7 +92587,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -92529,7 +92767,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92537,7 +92777,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -92579,7 +92819,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -92759,7 +92999,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92767,7 +93009,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -92809,7 +93051,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -92986,7 +93228,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92994,7 +93238,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -93036,7 +93280,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -93290,7 +93534,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -93298,7 +93544,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -93340,7 +93586,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -93552,7 +93798,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -93560,7 +93808,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -93602,7 +93850,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -93928,7 +94176,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -93936,7 +94186,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -93978,7 +94228,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -98322,7 +98572,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -98330,7 +98582,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -98372,7 +98624,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -99291,7 +99543,9 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -99299,7 +99553,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -99341,7 +99595,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -99522,7 +99776,9 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -99530,7 +99786,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -99572,7 +99828,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -99783,7 +100039,9 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -99791,7 +100049,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -99833,7 +100091,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -100035,7 +100293,9 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -100043,7 +100303,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -100085,7 +100345,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -102205,7 +102465,9 @@ relationships?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -102213,7 +102475,7 @@ relationships?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -102255,7 +102517,7 @@ relationships?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -102435,7 +102697,9 @@ relationships?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -102443,7 +102707,7 @@ relationships?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -102485,7 +102749,7 @@ relationships?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -102769,7 +103033,9 @@ relationships?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -102777,7 +103043,7 @@ relationships?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -102819,7 +103085,7 @@ relationships?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -105249,7 +105515,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -105257,7 +105525,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -105299,7 +105567,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -105581,7 +105849,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -105589,7 +105859,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -105631,7 +105901,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -105967,7 +106237,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -105975,7 +106247,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -106017,7 +106289,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -106215,7 +106487,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -106223,7 +106497,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -106265,7 +106539,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -106460,7 +106734,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -106468,7 +106744,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -106510,7 +106786,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -106691,7 +106967,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -106699,7 +106977,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -106741,7 +107019,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -106925,7 +107203,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -106933,7 +107213,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -106975,7 +107255,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -107157,7 +107437,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -107165,7 +107447,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -107207,7 +107489,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -107387,7 +107669,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -107395,7 +107679,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -107437,7 +107721,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -107617,7 +107901,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -107625,7 +107911,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -107667,7 +107953,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -107844,7 +108130,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -107852,7 +108140,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -107894,7 +108182,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -108148,7 +108436,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -108156,7 +108446,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -108198,7 +108488,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -108410,7 +108700,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -108418,7 +108710,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -108460,7 +108752,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -108786,7 +109078,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -108794,7 +109088,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -108836,7 +109130,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); diff --git a/packages/vocab-tools/src/__snapshots__/class.test.ts.node.snap b/packages/vocab-tools/src/__snapshots__/class.test.ts.node.snap index ecd4871f3..81c8eafbe 100644 --- a/packages/vocab-tools/src/__snapshots__/class.test.ts.node.snap +++ b/packages/vocab-tools/src/__snapshots__/class.test.ts.node.snap @@ -2253,7 +2253,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -2261,7 +2263,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -2303,7 +2305,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -2502,7 +2504,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -2510,7 +2514,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -2552,7 +2556,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -2876,7 +2880,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -2884,7 +2890,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -2926,7 +2932,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -3241,7 +3247,9 @@ get contents(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -3249,7 +3257,7 @@ get contents(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -3291,7 +3299,7 @@ get contents(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -3527,7 +3535,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -3535,7 +3545,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -3577,7 +3587,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -3765,7 +3775,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -3773,7 +3785,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -3815,7 +3827,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -4124,7 +4136,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -4132,7 +4146,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -4174,7 +4188,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -4483,7 +4497,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -4491,7 +4507,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -4533,7 +4549,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -4828,7 +4844,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -4836,7 +4854,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -4878,7 +4896,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -5173,7 +5191,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -5181,7 +5201,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -5223,7 +5243,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -5529,7 +5549,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -5537,7 +5559,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -5579,7 +5601,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -5757,7 +5779,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -5765,7 +5789,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -5807,7 +5831,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -5991,7 +6015,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -5999,7 +6025,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -6041,7 +6067,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -6225,7 +6251,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -6233,7 +6261,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -6275,7 +6303,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -6493,7 +6521,9 @@ get summaries(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -6501,7 +6531,7 @@ get summaries(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -6543,7 +6573,7 @@ get summaries(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -6768,7 +6798,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -6776,7 +6808,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -6818,7 +6850,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -7104,7 +7136,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -7112,7 +7146,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -7154,7 +7188,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -7440,7 +7474,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -7448,7 +7484,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -7490,7 +7526,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -7776,7 +7812,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -7784,7 +7822,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -7826,7 +7864,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -8176,7 +8214,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -8184,7 +8224,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -8226,7 +8266,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -8549,7 +8589,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -8557,7 +8599,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -8599,7 +8641,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -8777,7 +8819,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -8785,7 +8829,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -8827,7 +8871,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -9005,7 +9049,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -9013,7 +9059,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -9055,7 +9101,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -14390,7 +14436,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -14398,7 +14446,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -14440,7 +14488,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -14642,7 +14690,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -14650,7 +14700,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -14692,7 +14742,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -16097,7 +16147,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -16105,7 +16157,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -16147,7 +16199,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -16471,7 +16523,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -16479,7 +16533,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -16521,7 +16575,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -16809,7 +16863,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -16817,7 +16873,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -16859,7 +16915,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -17153,7 +17209,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -17161,7 +17219,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -17203,7 +17261,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -17491,7 +17549,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -17499,7 +17559,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -17541,7 +17601,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -17831,7 +17891,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -17839,7 +17901,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -17881,7 +17943,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -21087,7 +21149,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -21095,7 +21159,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -21137,7 +21201,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -21315,7 +21379,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -21323,7 +21389,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -21365,7 +21431,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -24430,7 +24496,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -24438,7 +24506,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -24480,7 +24548,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -24658,7 +24726,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -24666,7 +24736,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -24708,7 +24778,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -25952,7 +26022,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -25960,7 +26032,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -26002,7 +26074,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -26180,7 +26252,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -26188,7 +26262,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -26230,7 +26304,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -27474,7 +27548,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -27482,7 +27558,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -27524,7 +27600,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -27701,7 +27777,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -27709,7 +27787,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -27751,7 +27829,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -29271,7 +29349,9 @@ urls?: ((URL | Link))[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -29279,7 +29359,7 @@ urls?: ((URL | Link))[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -29321,7 +29401,7 @@ urls?: ((URL | Link))[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -30756,7 +30836,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -30764,7 +30846,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -30806,7 +30888,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -30982,7 +31064,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -30990,7 +31074,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -31032,7 +31116,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -32615,7 +32699,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -32623,7 +32709,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -32665,7 +32751,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -32843,7 +32929,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -32851,7 +32939,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -32893,7 +32981,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -33071,7 +33159,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -33079,7 +33169,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -33121,7 +33211,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -33299,7 +33389,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -33307,7 +33399,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -33349,7 +33441,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -33538,7 +33630,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -33546,7 +33640,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -33588,7 +33682,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -33765,7 +33859,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -33773,7 +33869,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -33815,7 +33911,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -33992,7 +34088,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34000,7 +34098,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -34042,7 +34140,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -34219,7 +34317,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34227,7 +34327,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -34269,7 +34369,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -34446,7 +34546,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34454,7 +34556,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -34496,7 +34598,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -34673,7 +34775,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34681,7 +34785,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -34723,7 +34827,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -34900,7 +35004,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34908,7 +35014,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -34950,7 +35056,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -35127,7 +35233,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -35135,7 +35243,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -35177,7 +35285,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -37124,7 +37232,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -37132,7 +37242,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -37174,7 +37284,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -38598,7 +38708,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -38606,7 +38718,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -38648,7 +38760,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -38824,7 +38936,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -38832,7 +38946,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -38874,7 +38988,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -40801,7 +40915,9 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL | const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -40809,7 +40925,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL | }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -40851,7 +40967,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL | return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -41904,7 +42020,9 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -41912,7 +42030,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -41954,7 +42072,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -42896,7 +43014,9 @@ controller?: Application | Group | Organization | Person | Service | URL | null; const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -42904,7 +43024,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null; }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -42946,7 +43066,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null; return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -49400,7 +49520,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -49408,7 +49530,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -49450,7 +49572,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -49732,7 +49854,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -49740,7 +49864,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -49782,7 +49906,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -50118,7 +50242,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -50126,7 +50252,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -50168,7 +50294,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -50366,7 +50492,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -50374,7 +50502,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -50416,7 +50544,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -50611,7 +50739,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -50619,7 +50749,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -50661,7 +50791,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -50842,7 +50972,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -50850,7 +50982,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -50892,7 +51024,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -51076,7 +51208,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -51084,7 +51218,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -51126,7 +51260,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -51308,7 +51442,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -51316,7 +51452,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -51358,7 +51494,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -51538,7 +51674,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -51546,7 +51684,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -51588,7 +51726,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -51768,7 +51906,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -51776,7 +51916,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -51818,7 +51958,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -51995,7 +52135,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -52003,7 +52145,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -52045,7 +52187,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -52299,7 +52441,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -52307,7 +52451,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -52349,7 +52493,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -52561,7 +52705,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -52569,7 +52715,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -52611,7 +52757,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -52937,7 +53083,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -52945,7 +53093,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -52987,7 +53135,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -57004,7 +57152,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -57012,7 +57162,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -57054,7 +57204,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -57256,7 +57406,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -57264,7 +57416,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -57306,7 +57458,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -60273,7 +60425,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -60281,7 +60435,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -60323,7 +60477,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -60501,7 +60655,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -60509,7 +60665,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -60551,7 +60707,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -60727,7 +60883,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -60735,7 +60893,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -60777,7 +60935,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -66402,7 +66560,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -66410,7 +66570,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -66452,7 +66612,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -66734,7 +66894,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -66742,7 +66904,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -66784,7 +66946,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -67120,7 +67282,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -67128,7 +67292,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -67170,7 +67334,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -67368,7 +67532,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -67376,7 +67542,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -67418,7 +67584,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -67613,7 +67779,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -67621,7 +67789,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -67663,7 +67831,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -67844,7 +68012,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -67852,7 +68022,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -67894,7 +68064,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -68078,7 +68248,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -68086,7 +68258,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -68128,7 +68300,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -68310,7 +68482,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -68318,7 +68492,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -68360,7 +68534,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -68540,7 +68714,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -68548,7 +68724,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -68590,7 +68766,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -68770,7 +68946,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -68778,7 +68956,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -68820,7 +68998,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -68997,7 +69175,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -69005,7 +69185,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -69047,7 +69227,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -69301,7 +69481,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -69309,7 +69491,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -69351,7 +69533,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -69563,7 +69745,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -69571,7 +69755,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -69613,7 +69797,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -69939,7 +70123,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -69947,7 +70133,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -69989,7 +70175,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -73677,7 +73863,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -73685,7 +73873,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -73727,7 +73915,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -79095,7 +79283,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -79103,7 +79293,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -79145,7 +79335,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -79347,7 +79537,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -79355,7 +79547,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -79397,7 +79589,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -80353,7 +80545,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -80361,7 +80555,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -80403,7 +80597,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -82239,7 +82433,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -82247,7 +82443,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -82289,7 +82485,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -82571,7 +82767,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -82579,7 +82777,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -82621,7 +82819,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -82957,7 +83155,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -82965,7 +83165,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -83007,7 +83207,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -83205,7 +83405,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -83213,7 +83415,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -83255,7 +83457,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -83450,7 +83652,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -83458,7 +83662,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -83500,7 +83704,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -83681,7 +83885,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -83689,7 +83895,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -83731,7 +83937,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -83915,7 +84121,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -83923,7 +84131,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -83965,7 +84173,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -84147,7 +84355,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -84155,7 +84365,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -84197,7 +84407,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -84377,7 +84587,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -84385,7 +84597,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -84427,7 +84639,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -84607,7 +84819,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -84615,7 +84829,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -84657,7 +84871,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -84834,7 +85048,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -84842,7 +85058,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -84884,7 +85100,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -85138,7 +85354,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -85146,7 +85364,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -85188,7 +85406,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -85400,7 +85618,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -85408,7 +85628,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -85450,7 +85670,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -85776,7 +85996,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -85784,7 +86006,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -85826,7 +86048,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -90389,7 +90611,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -90397,7 +90621,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -90439,7 +90663,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -90721,7 +90945,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -90729,7 +90955,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -90771,7 +90997,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -91107,7 +91333,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -91115,7 +91343,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -91157,7 +91385,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -91355,7 +91583,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -91363,7 +91593,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -91405,7 +91635,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -91600,7 +91830,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -91608,7 +91840,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -91650,7 +91882,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -91831,7 +92063,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -91839,7 +92073,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -91881,7 +92115,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -92065,7 +92299,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92073,7 +92309,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -92115,7 +92351,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -92297,7 +92533,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92305,7 +92543,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -92347,7 +92585,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -92527,7 +92765,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92535,7 +92775,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -92577,7 +92817,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -92757,7 +92997,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92765,7 +93007,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -92807,7 +93049,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -92984,7 +93226,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92992,7 +93236,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -93034,7 +93278,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -93288,7 +93532,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -93296,7 +93542,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -93338,7 +93584,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -93550,7 +93796,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -93558,7 +93806,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -93600,7 +93848,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -93926,7 +94174,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -93934,7 +94184,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -93976,7 +94226,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -98320,7 +98570,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -98328,7 +98580,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -98370,7 +98622,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -99289,7 +99541,9 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -99297,7 +99551,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -99339,7 +99593,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -99520,7 +99774,9 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -99528,7 +99784,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -99570,7 +99826,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -99781,7 +100037,9 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -99789,7 +100047,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -99831,7 +100089,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -100033,7 +100291,9 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -100041,7 +100301,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -100083,7 +100343,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -102203,7 +102463,9 @@ relationships?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -102211,7 +102473,7 @@ relationships?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -102253,7 +102515,7 @@ relationships?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -102433,7 +102695,9 @@ relationships?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -102441,7 +102705,7 @@ relationships?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -102483,7 +102747,7 @@ relationships?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -102767,7 +103031,9 @@ relationships?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -102775,7 +103041,7 @@ relationships?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -102817,7 +103083,7 @@ relationships?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -105247,7 +105513,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -105255,7 +105523,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -105297,7 +105565,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -105579,7 +105847,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -105587,7 +105857,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -105629,7 +105899,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -105965,7 +106235,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -105973,7 +106245,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -106015,7 +106287,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -106213,7 +106485,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -106221,7 +106495,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -106263,7 +106537,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -106458,7 +106732,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -106466,7 +106742,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -106508,7 +106784,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -106689,7 +106965,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -106697,7 +106975,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -106739,7 +107017,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -106923,7 +107201,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -106931,7 +107211,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -106973,7 +107253,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -107155,7 +107435,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -107163,7 +107445,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -107205,7 +107487,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -107385,7 +107667,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -107393,7 +107677,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -107435,7 +107719,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -107615,7 +107899,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -107623,7 +107909,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -107665,7 +107951,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -107842,7 +108128,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -107850,7 +108138,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -107892,7 +108180,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -108146,7 +108434,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -108154,7 +108444,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -108196,7 +108486,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -108408,7 +108698,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -108416,7 +108708,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -108458,7 +108750,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); @@ -108784,7 +109076,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -108792,7 +109086,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to fetch {url}: {error}\\", { error, url: lookupUrl } ); @@ -108834,7 +109128,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger([\\"fedify\\", \\"vocab\\"]).error( + getLogger([\\"fedify\\", \\"vocab\\"]).warn( \\"Failed to parse {url}: {error}\\", { error: e, url: lookupUrl } ); diff --git a/packages/vocab-tools/src/__snapshots__/class.test.ts.snap b/packages/vocab-tools/src/__snapshots__/class.test.ts.snap index 4f00dc000..d4580173f 100644 --- a/packages/vocab-tools/src/__snapshots__/class.test.ts.snap +++ b/packages/vocab-tools/src/__snapshots__/class.test.ts.snap @@ -2255,7 +2255,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -2263,7 +2265,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -2305,7 +2307,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -2504,7 +2506,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -2512,7 +2516,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -2554,7 +2558,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -2878,7 +2882,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -2886,7 +2892,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -2928,7 +2934,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -3243,7 +3249,9 @@ get contents(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -3251,7 +3259,7 @@ get contents(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -3293,7 +3301,7 @@ get contents(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -3529,7 +3537,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -3537,7 +3547,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -3579,7 +3589,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -3767,7 +3777,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -3775,7 +3787,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -3817,7 +3829,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -4126,7 +4138,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -4134,7 +4148,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -4176,7 +4190,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -4485,7 +4499,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -4493,7 +4509,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -4535,7 +4551,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -4830,7 +4846,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -4838,7 +4856,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -4880,7 +4898,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -5175,7 +5193,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -5183,7 +5203,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -5225,7 +5245,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -5531,7 +5551,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -5539,7 +5561,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -5581,7 +5603,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -5759,7 +5781,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -5767,7 +5791,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -5809,7 +5833,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -5993,7 +6017,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -6001,7 +6027,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -6043,7 +6069,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -6227,7 +6253,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -6235,7 +6263,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -6277,7 +6305,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -6495,7 +6523,9 @@ get summaries(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -6503,7 +6533,7 @@ get summaries(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -6545,7 +6575,7 @@ get summaries(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -6770,7 +6800,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -6778,7 +6810,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -6820,7 +6852,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -7106,7 +7138,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -7114,7 +7148,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -7156,7 +7190,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -7442,7 +7476,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -7450,7 +7486,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -7492,7 +7528,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -7778,7 +7814,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -7786,7 +7824,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -7828,7 +7866,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -8178,7 +8216,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -8186,7 +8226,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -8228,7 +8268,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -8551,7 +8591,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -8559,7 +8601,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -8601,7 +8643,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -8779,7 +8821,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -8787,7 +8831,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -8829,7 +8873,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -9007,7 +9051,9 @@ get urls(): ((URL | Link))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -9015,7 +9061,7 @@ get urls(): ((URL | Link))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -9057,7 +9103,7 @@ get urls(): ((URL | Link))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -14392,7 +14438,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -14400,7 +14448,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -14442,7 +14490,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -14644,7 +14692,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -14652,7 +14702,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -14694,7 +14744,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -16099,7 +16149,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -16107,7 +16159,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -16149,7 +16201,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -16473,7 +16525,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -16481,7 +16535,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -16523,7 +16577,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -16811,7 +16865,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -16819,7 +16875,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -16861,7 +16917,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -17155,7 +17211,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -17163,7 +17221,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -17205,7 +17263,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -17493,7 +17551,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -17501,7 +17561,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -17543,7 +17603,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -17833,7 +17893,9 @@ instruments?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -17841,7 +17903,7 @@ instruments?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -17883,7 +17945,7 @@ instruments?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -21089,7 +21151,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -21097,7 +21161,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -21139,7 +21203,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -21317,7 +21381,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -21325,7 +21391,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -21367,7 +21433,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -24432,7 +24498,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -24440,7 +24508,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -24482,7 +24550,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -24660,7 +24728,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -24668,7 +24738,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -24710,7 +24780,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -25954,7 +26024,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -25962,7 +26034,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -26004,7 +26076,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -26182,7 +26254,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -26190,7 +26264,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -26232,7 +26306,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -27476,7 +27550,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -27484,7 +27560,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -27526,7 +27602,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -27703,7 +27779,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -27711,7 +27789,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -27753,7 +27831,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -29273,7 +29351,9 @@ urls?: ((URL | Link))[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -29281,7 +29361,7 @@ urls?: ((URL | Link))[];} }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -29323,7 +29403,7 @@ urls?: ((URL | Link))[];} return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -30758,7 +30838,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -30766,7 +30848,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -30808,7 +30890,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -30984,7 +31066,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -30992,7 +31076,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -31034,7 +31118,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -32617,7 +32701,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -32625,7 +32711,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -32667,7 +32753,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -32845,7 +32931,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -32853,7 +32941,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -32895,7 +32983,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -33073,7 +33161,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -33081,7 +33171,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -33123,7 +33213,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -33301,7 +33391,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -33309,7 +33401,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -33351,7 +33443,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -33540,7 +33632,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -33548,7 +33642,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -33590,7 +33684,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -33767,7 +33861,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -33775,7 +33871,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -33817,7 +33913,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -33994,7 +34090,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34002,7 +34100,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -34044,7 +34142,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -34221,7 +34319,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34229,7 +34329,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -34271,7 +34371,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -34448,7 +34548,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34456,7 +34558,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -34498,7 +34600,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -34675,7 +34777,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34683,7 +34787,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -34725,7 +34829,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -34902,7 +35006,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -34910,7 +35016,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -34952,7 +35058,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -35129,7 +35235,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -35137,7 +35245,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -35179,7 +35287,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -37126,7 +37234,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -37134,7 +37244,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -37176,7 +37286,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -38600,7 +38710,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -38608,7 +38720,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -38650,7 +38762,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -38826,7 +38938,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -38834,7 +38948,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -38876,7 +38990,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -40803,7 +40917,9 @@ cryptosuite?: "eddsa-jcs-2022" | null;verificationMethod?: Multikey | URL | null const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -40811,7 +40927,7 @@ cryptosuite?: "eddsa-jcs-2022" | null;verificationMethod?: Multikey | URL | null }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -40853,7 +40969,7 @@ cryptosuite?: "eddsa-jcs-2022" | null;verificationMethod?: Multikey | URL | null return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -41906,7 +42022,9 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -41914,7 +42032,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -41956,7 +42074,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -42898,7 +43016,9 @@ controller?: Application | Group | Organization | Person | Service | URL | null; const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -42906,7 +43026,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null; }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -42948,7 +43068,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null; return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -49402,7 +49522,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -49410,7 +49532,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -49452,7 +49574,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -49734,7 +49856,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -49742,7 +49866,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -49784,7 +49908,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -50120,7 +50244,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -50128,7 +50254,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -50170,7 +50296,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -50368,7 +50494,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -50376,7 +50504,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -50418,7 +50546,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -50613,7 +50741,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -50621,7 +50751,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -50663,7 +50793,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -50844,7 +50974,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -50852,7 +50984,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -50894,7 +51026,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -51078,7 +51210,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -51086,7 +51220,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -51128,7 +51262,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -51310,7 +51444,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -51318,7 +51454,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -51360,7 +51496,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -51540,7 +51676,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -51548,7 +51686,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -51590,7 +51728,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -51770,7 +51908,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -51778,7 +51918,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -51820,7 +51960,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -51997,7 +52137,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -52005,7 +52147,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -52047,7 +52189,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -52301,7 +52443,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -52309,7 +52453,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -52351,7 +52495,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -52563,7 +52707,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -52571,7 +52717,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -52613,7 +52759,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -52939,7 +53085,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -52947,7 +53095,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -52989,7 +53137,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -57006,7 +57154,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -57014,7 +57164,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -57056,7 +57206,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -57258,7 +57408,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -57266,7 +57418,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -57308,7 +57460,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -60275,7 +60427,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -60283,7 +60437,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -60325,7 +60479,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -60503,7 +60657,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -60511,7 +60667,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -60553,7 +60709,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -60729,7 +60885,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -60737,7 +60895,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -60779,7 +60937,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -66404,7 +66562,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -66412,7 +66572,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -66454,7 +66614,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -66736,7 +66896,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -66744,7 +66906,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -66786,7 +66948,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -67122,7 +67284,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -67130,7 +67294,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -67172,7 +67336,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -67370,7 +67534,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -67378,7 +67544,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -67420,7 +67586,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -67615,7 +67781,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -67623,7 +67791,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -67665,7 +67833,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -67846,7 +68014,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -67854,7 +68024,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -67896,7 +68066,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -68080,7 +68250,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -68088,7 +68260,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -68130,7 +68302,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -68312,7 +68484,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -68320,7 +68494,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -68362,7 +68536,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -68542,7 +68716,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -68550,7 +68726,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -68592,7 +68768,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -68772,7 +68948,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -68780,7 +68958,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -68822,7 +69000,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -68999,7 +69177,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -69007,7 +69187,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -69049,7 +69229,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -69303,7 +69483,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -69311,7 +69493,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -69353,7 +69535,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -69565,7 +69747,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -69573,7 +69757,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -69615,7 +69799,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -69941,7 +70125,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -69949,7 +70135,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -69991,7 +70177,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -73679,7 +73865,9 @@ get names(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -73687,7 +73875,7 @@ get names(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -73729,7 +73917,7 @@ get names(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -79097,7 +79285,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -79105,7 +79295,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -79147,7 +79337,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -79349,7 +79539,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -79357,7 +79549,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -79399,7 +79591,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -80355,7 +80547,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -80363,7 +80557,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -80405,7 +80599,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -82241,7 +82435,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -82249,7 +82445,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -82291,7 +82487,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -82573,7 +82769,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -82581,7 +82779,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -82623,7 +82821,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -82959,7 +83157,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -82967,7 +83167,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -83009,7 +83209,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -83207,7 +83407,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -83215,7 +83417,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -83257,7 +83459,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -83452,7 +83654,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -83460,7 +83664,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -83502,7 +83706,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -83683,7 +83887,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -83691,7 +83897,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -83733,7 +83939,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -83917,7 +84123,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -83925,7 +84133,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -83967,7 +84175,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -84149,7 +84357,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -84157,7 +84367,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -84199,7 +84409,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -84379,7 +84589,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -84387,7 +84599,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -84429,7 +84641,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -84609,7 +84821,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -84617,7 +84831,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -84659,7 +84873,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -84836,7 +85050,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -84844,7 +85060,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -84886,7 +85102,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -85140,7 +85356,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -85148,7 +85366,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -85190,7 +85408,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -85402,7 +85620,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -85410,7 +85630,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -85452,7 +85672,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -85778,7 +85998,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -85786,7 +86008,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -85828,7 +86050,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -90391,7 +90613,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -90399,7 +90623,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -90441,7 +90665,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -90723,7 +90947,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -90731,7 +90957,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -90773,7 +90999,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -91109,7 +91335,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -91117,7 +91345,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -91159,7 +91387,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -91357,7 +91585,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -91365,7 +91595,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -91407,7 +91637,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -91602,7 +91832,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -91610,7 +91842,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -91652,7 +91884,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -91833,7 +92065,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -91841,7 +92075,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -91883,7 +92117,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -92067,7 +92301,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92075,7 +92311,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -92117,7 +92353,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -92299,7 +92535,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92307,7 +92545,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -92349,7 +92587,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -92529,7 +92767,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92537,7 +92777,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -92579,7 +92819,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -92759,7 +92999,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92767,7 +93009,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -92809,7 +93051,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -92986,7 +93228,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -92994,7 +93238,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -93036,7 +93280,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -93290,7 +93534,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -93298,7 +93544,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -93340,7 +93586,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -93552,7 +93798,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -93560,7 +93808,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -93602,7 +93850,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -93928,7 +94176,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -93936,7 +94186,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -93978,7 +94228,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -98322,7 +98572,9 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -98330,7 +98582,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -98372,7 +98624,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -99291,7 +99543,9 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -99299,7 +99553,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -99341,7 +99595,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -99522,7 +99776,9 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -99530,7 +99786,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -99572,7 +99828,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -99783,7 +100039,9 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -99791,7 +100049,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -99833,7 +100091,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -100035,7 +100293,9 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -100043,7 +100303,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -100085,7 +100345,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -102205,7 +102465,9 @@ relationships?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -102213,7 +102475,7 @@ relationships?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -102255,7 +102517,7 @@ relationships?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -102435,7 +102697,9 @@ relationships?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -102443,7 +102707,7 @@ relationships?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -102485,7 +102749,7 @@ relationships?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -102769,7 +103033,9 @@ relationships?: (Object | URL)[];} const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -102777,7 +103043,7 @@ relationships?: (Object | URL)[];} }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -102819,7 +103085,7 @@ relationships?: (Object | URL)[];} return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -105249,7 +105515,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -105257,7 +105525,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -105299,7 +105567,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -105581,7 +105849,9 @@ get preferredUsernames(): ((string | LanguageString))[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -105589,7 +105859,7 @@ get preferredUsernames(): ((string | LanguageString))[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -105631,7 +105901,7 @@ get preferredUsernames(): ((string | LanguageString))[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -105967,7 +106237,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -105975,7 +106247,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -106017,7 +106289,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -106215,7 +106487,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -106223,7 +106497,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -106265,7 +106539,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -106460,7 +106734,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -106468,7 +106744,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -106510,7 +106786,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -106691,7 +106967,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -106699,7 +106977,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -106741,7 +107019,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -106925,7 +107203,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -106933,7 +107213,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -106975,7 +107255,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -107157,7 +107437,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -107165,7 +107447,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -107207,7 +107489,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -107387,7 +107669,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -107395,7 +107679,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -107437,7 +107721,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -107617,7 +107901,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -107625,7 +107911,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -107667,7 +107953,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -107844,7 +108130,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -107852,7 +108140,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -107894,7 +108182,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -108148,7 +108436,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -108156,7 +108446,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -108198,7 +108488,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -108410,7 +108700,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -108418,7 +108710,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -108460,7 +108752,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); @@ -108786,7 +109078,9 @@ get gateways(): (URL)[] { const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -108794,7 +109088,7 @@ get gateways(): (URL)[] { }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -108836,7 +109130,7 @@ get gateways(): (URL)[] { return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); diff --git a/packages/vocab-tools/src/property.ts b/packages/vocab-tools/src/property.ts index 720d330ff..ddd4f61bb 100644 --- a/packages/vocab-tools/src/property.ts +++ b/packages/vocab-tools/src/property.ts @@ -90,7 +90,9 @@ async function* generateProperty( const lookupUrl = formatIri(url); let fetchResult: RemoteDocument; try { - fetchResult = await documentLoader(lookupUrl); + fetchResult = await documentLoader(lookupUrl, { + suppressError: options.suppressError, + }); } catch (error) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -98,7 +100,7 @@ async function* generateProperty( }); span.end(); if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to fetch {url}: {error}", { error, url: lookupUrl } ); @@ -140,7 +142,7 @@ async function* generateProperty( return obj; } catch (e) { if (options.suppressError) { - getLogger(["fedify", "vocab"]).error( + getLogger(["fedify", "vocab"]).warn( "Failed to parse {url}: {error}", { error: e, url: lookupUrl } ); diff --git a/packages/vocab/src/vocab.test.ts b/packages/vocab/src/vocab.test.ts index 50a390c98..342c2a8e3 100644 --- a/packages/vocab/src/vocab.test.ts +++ b/packages/vocab/src/vocab.test.ts @@ -2,6 +2,7 @@ import { mockDocumentLoader, test } from "@fedify/fixture"; import { decodeMultibase, type DocumentLoader, + FetchError, LanguageString, parseDecimal, type RemoteDocument, @@ -14,6 +15,7 @@ import { } from "@fedify/vocab-tools"; import { configure, type LogRecord, reset } from "@logtape/logtape"; import { pascalCase } from "es-toolkit"; +import fetchMock from "fetch-mock"; import { deepStrictEqual, notDeepStrictEqual, @@ -1804,6 +1806,130 @@ test({ }); }, }); +test({ + name: "Announce.getObject() logs suppressed failures as warnings", + permissions: { env: true, read: true }, + async fn() { + const records: LogRecord[] = []; + const notFoundUrl = "https://example.com/suppressed-not-found"; + const invalidObjectUrl = "https://example.com/invalid-object"; + + await reset(); + fetchMock.spyGlobal(); + + try { + await configure({ + sinks: { + buffer(record: LogRecord): void { + records.push(record); + }, + }, + filters: {}, + loggers: [{ category: [], sinks: ["buffer"] }], + }); + + fetchMock.get(notFoundUrl, { status: 404 }); + + const suppressedFetch = new Announce({ + object: new URL(notFoundUrl), + }); + deepStrictEqual( + await suppressedFetch.getObject({ suppressError: true }), + null, + ); + ok( + records.some((record) => + record.level === "warning" && + record.rawMessage === + "Failed to fetch document: {status} {url} {headers}" + ), + ); + ok( + records.some((record) => + record.level === "warning" && + record.rawMessage === "Failed to fetch {url}: {error}" + ), + ); + deepStrictEqual( + records.some((record) => + record.level === "error" && + ( + record.rawMessage === + "Failed to fetch document: {status} {url} {headers}" || + record.rawMessage === "Failed to fetch {url}: {error}" + ) + ), + false, + ); + + records.length = 0; + + const unsuppressedFetch = new Announce({ + object: new URL(notFoundUrl), + }); + await rejects( + () => unsuppressedFetch.getObject(), + FetchError, + ); + ok( + records.some((record) => + record.level === "error" && + record.rawMessage === + "Failed to fetch document: {status} {url} {headers}" + ), + ); + + records.length = 0; + + // deno-lint-ignore require-await + const invalidDocumentLoader: DocumentLoader = async (url) => ({ + contextUrl: null, + documentUrl: url, + document: null, + }); + + const suppressedParsing = new Announce({ + object: new URL(invalidObjectUrl), + }); + deepStrictEqual( + await suppressedParsing.getObject({ + documentLoader: invalidDocumentLoader, + suppressError: true, + }), + null, + ); + ok( + records.some((record) => + record.level === "warning" && + record.rawMessage === "Failed to parse {url}: {error}" + ), + ); + deepStrictEqual( + records.some((record) => + record.level === "error" && + record.rawMessage === "Failed to parse {url}: {error}" + ), + false, + ); + + records.length = 0; + + const unsuppressedParsing = new Announce({ + object: new URL(invalidObjectUrl), + }); + await rejects( + () => + unsuppressedParsing.getObject({ + documentLoader: invalidDocumentLoader, + }), + TypeError, + ); + } finally { + fetchMock.hardReset(); + await reset(); + } + }, +}); test("Activity.getObject() fetches canonical portable IRIs", async () => { const fetchedUrls: string[] = [];