Add Ollama/organize logging to debug 403 filing failures

- Log raw Ollama HTTP body on non-2xx responses

- Log JSON extraction failures with raw content

- Log organizeWatcher tick errors instead of swallowing them

Signed-off-by: William Mantly <wmantly@gmail.com>
This commit is contained in:
2026-07-20 11:55:41 -04:00
parent e9a376925d
commit 40a39b2d14
2 changed files with 14 additions and 2 deletions
+2
View File
@@ -31,6 +31,8 @@ async function tick(){
}
}catch(error){
// Transmission down / transient — just try again next tick.
console.error('organizeWatcher tick failed:', error.name, error.message);
if(error.stack) console.error(error.stack);
}finally{
lock = false;
}