|
|
@ -590,7 +590,9 @@ namespace Volo.Docs.Pages.Documents.Project |
|
|
Document.Content = $"````txt{Environment.NewLine}{message}{Environment.NewLine}````"; |
|
|
Document.Content = $"````txt{Environment.NewLine}{message}{Environment.NewLine}````"; |
|
|
await LocalEventBus.PublishAsync(new DocumentRenderErrorEvent |
|
|
await LocalEventBus.PublishAsync(new DocumentRenderErrorEvent |
|
|
{ |
|
|
{ |
|
|
ErrorMessage = message, Name = Document.Name |
|
|
ErrorMessage = e.Message, |
|
|
|
|
|
Name = Document.Name, |
|
|
|
|
|
Url = Request.GetDisplayUrl() |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
// Slow down with crawling
|
|
|
// Slow down with crawling
|
|
|
|