mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-13 11:41:36 +00:00
Update log level to warning for Pandoc unavailability
This commit is contained in:
parent
c4b4d597c9
commit
170aa1de62
@ -83,7 +83,7 @@ public partial class AttachDocuments : MSGComponentBase
|
|||||||
// If Pandoc is not available (user cancelled installation), abort file drop:
|
// If Pandoc is not available (user cancelled installation), abort file drop:
|
||||||
if (!pandocState.IsAvailable)
|
if (!pandocState.IsAvailable)
|
||||||
{
|
{
|
||||||
this.Logger.LogInformation("The user cancelled the Pandoc installation or Pandoc is not available. Aborting file drop.");
|
this.Logger.LogWarning("The user cancelled the Pandoc installation or Pandoc is not available. Aborting file drop.");
|
||||||
this.ClearDragClass();
|
this.ClearDragClass();
|
||||||
this.StateHasChanged();
|
this.StateHasChanged();
|
||||||
return;
|
return;
|
||||||
@ -122,7 +122,7 @@ public partial class AttachDocuments : MSGComponentBase
|
|||||||
// If Pandoc is not available (user cancelled installation), abort file selection:
|
// If Pandoc is not available (user cancelled installation), abort file selection:
|
||||||
if (!pandocState.IsAvailable)
|
if (!pandocState.IsAvailable)
|
||||||
{
|
{
|
||||||
this.Logger.LogInformation("The user cancelled the Pandoc installation or Pandoc is not available. Aborting file selection.");
|
this.Logger.LogWarning("The user cancelled the Pandoc installation or Pandoc is not available. Aborting file selection.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user