@ -1,3 +1,5 @@
using System.Collections.Generic;
namespace Volo.Docs.Documents;
public class DocumentRenderErrorEvent
@ -7,4 +9,6 @@ public class DocumentRenderErrorEvent
public string ErrorMessage { get; set; }
public string Url { get; set; }
public Dictionary<string, string> UserPreferences { get; set; }
}
@ -592,7 +592,8 @@ namespace Volo.Docs.Pages.Documents.Project
{
ErrorMessage = e.Message,
Name = Document.Name,
Url = Request.GetDisplayUrl()
Url = Request.GetDisplayUrl(),
UserPreferences = UserPreferences
});
// Slow down with crawling