diff --git a/server/commands/documentImporter.ts b/server/commands/documentImporter.ts index 5e64c3793..7be7ec27f 100644 --- a/server/commands/documentImporter.ts +++ b/server/commands/documentImporter.ts @@ -236,7 +236,7 @@ async function documentImporter({ if (state.length > DocumentValidation.maxStateLength) { throw InvalidRequestError( - `The document is too large to import, please reduce the length and try again` + `The document "${title}" is too large to import, please reduce the length and try again` ); }