fix(logging): trim provider log prefixes

This commit is contained in:
Peter Steinberger
2026-01-02 00:15:01 +00:00
parent 464dabdc16
commit 4ec020a86d
5 changed files with 15 additions and 21 deletions

View File

@@ -199,7 +199,7 @@ describe("telegram inbound media", () => {
expect(replySpy).not.toHaveBeenCalled();
expect(runtimeError).toHaveBeenCalledTimes(1);
const msg = String(runtimeError.mock.calls[0]?.[0] ?? "");
expect(msg).toContain("Telegram handler failed:");
expect(msg).toContain("handler failed:");
expect(msg).toContain("file_path");
fetchSpy.mockRestore();