diff --git a/src/smapi.ts b/src/smapi.ts index ec73809..7c6297f 100644 --- a/src/smapi.ts +++ b/src/smapi.ts @@ -183,7 +183,7 @@ class SonosSoap { throw { Fault: { faultcode: "Client.NOT_LINKED_RETRY", - faultstring: "Link Code not found retry...", + faultstring: "Link Code not found yet, sonos app will keep polling until you log in to bonob", detail: { ExceptionInfo: "NOT_LINKED_RETRY", SonosError: "5", diff --git a/tests/smapi.test.ts b/tests/smapi.test.ts index 984fe80..b2318b5 100644 --- a/tests/smapi.test.ts +++ b/tests/smapi.test.ts @@ -509,7 +509,7 @@ describe("api", () => { .catch((e: any) => { expect(e.root.Envelope.Body.Fault).toEqual({ faultcode: "Client.NOT_LINKED_RETRY", - faultstring: "Link Code not found retry...", + faultstring: "Link Code not found yet, sonos app will keep polling until you log in to bonob", detail: { ExceptionInfo: "NOT_LINKED_RETRY", SonosError: "5",