📜 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:
Danny Avila 2026-05-11 02:15:51 -04:00 committed by GitHub
parent 763fab2e3e
commit 7129b1b1e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 96 additions and 92 deletions

View file

@ -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;
}
}