Merge pull request #34102 from overleaf/mj-document-import-errors

[web] Expose pandoc errors in import

GitOrigin-RevId: 55f89b91a52099a99a5d955bc05f3657b87b2cdc
This commit is contained in:
Mathias Jakobsen
2026-06-05 08:07:02 +00:00
committed by Copybot
parent 97247b8ea5
commit cabe0046c5
6 changed files with 72 additions and 8 deletions
@@ -636,7 +636,7 @@ describe('ProjectUploadController', function () {
ctx.res.json = data => {
expect(data).to.deep.equal({
success: false,
error: 'invalid_type',
error: 'invalid_import_type',
})
resolve()
}