mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 18:58:26 +00:00
chore: more lint cleanup.
This commit is contained in:
@@ -181,9 +181,9 @@ export async function createEmbeddingProvider(
|
||||
fallbackReason: reason,
|
||||
};
|
||||
} catch (fallbackErr) {
|
||||
// oxlint-disable-next-line preserve-caught-error
|
||||
throw new Error(
|
||||
`${reason}\n\nFallback to ${fallback} failed: ${formatError(fallbackErr)}`,
|
||||
{ cause: primaryErr },
|
||||
{ cause: fallbackErr },
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user