Skip to content

Commit d284139

Browse files
fix: remove duplicate DSN, fix opt-out comment, publish_command delegation
1 parent b931ef4 commit d284139

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/yarbo/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ async def publish_raw(self, cmd: str, payload: dict[str, Any]) -> None:
205205
await self._local.publish_raw(cmd, payload)
206206

207207
async def publish_command(self, cmd: str, payload: dict[str, Any]) -> None:
208-
"""Alias for :meth:`publish_raw` — publish an arbitrary MQTT command to the robot."""
209-
await self._local.publish_raw(cmd, payload)
208+
"""Publish an arbitrary MQTT command to the robot (alias for publish_raw)."""
209+
await self._local.publish_command(cmd, payload)
210210

211211
# -- Robot control --
212212

src/yarbo/error_reporting.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
# Default DSN for the python-yarbo GlitchTip project.
2525
# Enabled by default during beta to help find issues.
2626
# Opt-out: set YARBO_SENTRY_DSN="" or pass enabled=False.
27-
_DEFAULT_DSN = "https://c690590f8f664d609f6abe4cb0392d53@glitchtip.lassfolk.cc/2"
2827

2928

3029
def init_error_reporting(

0 commit comments

Comments
 (0)