feat: improve the export error message (#1510)

This commit is contained in:
Myriad-Dreamin 2025-03-15 21:43:34 +08:00 committed by GitHub
parent 36bc5226ba
commit 3d83885778
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -173,7 +173,7 @@ impl ExportTask {
});
// Prepare the document.
let doc = doc.ok().context("no document")?;
let doc = doc.ok().context("cannot export with compilation errors")?;
// Prepare data.
let kind2 = task.clone();