mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-27 04:07:05 +00:00
📜 refactor: Improve Skill Handling Logs (#13057)
* refactor: Streamline batch upload error handling in `uploadCodeEnvFile` * refactor: Enhance session info error logging in `getSessionInfo` * refactor: Update error logging to use `logAxiosError` in various agent handlers and skill file processing functions * refactor: Consolidate missing resource checks in `createToolExecuteHandler` for better clarity
This commit is contained in:
parent
763fab2e3e
commit
7129b1b1e4
5 changed files with 96 additions and 92 deletions
|
|
@ -707,10 +707,9 @@ async function getSessionInfo(ref, req) {
|
|||
|
||||
return response.data?.lastModified;
|
||||
} catch (error) {
|
||||
logAxiosError({
|
||||
message: `Error fetching session info: ${error.message}`,
|
||||
error,
|
||||
});
|
||||
logger.debug(
|
||||
`[getSessionInfo] session lookup failed (treating as cache miss): ${error?.message ?? String(error)}`,
|
||||
);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue