mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 11:41:38 +00:00
Improved logging
This commit is contained in:
parent
cb453dc518
commit
d9bec27763
@ -14,7 +14,11 @@ public sealed partial class RustService
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
Console.WriteLine(e);
|
if(this.logger is not null)
|
||||||
|
this.logger.LogError(e, "Error while fetching Qdrant info from Rust service.");
|
||||||
|
else
|
||||||
|
Console.WriteLine($"Error while fetching Qdrant info from Rust service: '{e}'.");
|
||||||
|
|
||||||
return default;
|
return default;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user