debug: add stderr logging to _poll_task for every status poll attempt

Logs [poll] lines to stderr so Claude Desktop's MCP log shows exactly
what DSM returns on each status call: attempt number, elapsed time,
finished flag, data keys (on success) or error code + message (on 599).

Version 0.2.3 — remove this logging once the 599 root cause is confirmed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-14 13:05:37 +02:00
parent e3fa71b458
commit c0d4c347c5
3 changed files with 22 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "mcp-synology-filestation"
version = "0.2.2"
version = "0.2.3"
description = "MCP server for Synology FileStation"
requires-python = ">=3.12"
dependencies = [