This commit is contained in:
1 parent
92724f1509
commit
99fb86471e
4 files changed
+15
-18
No files matched your search
@@ -19,6 +19,9 @@ describe("native Hermes presentation", () => {
|
||||
expect(hermesErrorMessage("Error: Unknown request tag: hermes.write")).toContain(
|
||||
"Update and restart the T3 desktop app or server",
|
||||
);
|
||||
expect(hermesErrorMessage("Unknown request tag: hermes.read")).toContain(
|
||||
"Update and restart the T3 desktop app or server",
|
||||
);
|
||||
});
|
||||
it("merges overlapping transcript pages with stable message identities", () => {
|
||||
const older = hermesMessages({
|
||||
|
||||
@@ -46,7 +46,7 @@ export function hermesPretty(value: unknown): string {
|
||||
}
|
||||
|
||||
export function hermesErrorMessage(message: string): string {
|
||||
if (/Unknown request tag: hermes\.(?:read|write|events)/i.test(message)) {
|
||||
if (/unknown request tag:\s*hermes\.(?:read|write|events)/i.test(message)) {
|
||||
return "This T3 host is too old for native Hermes controls. Update and restart the T3 desktop app or server on the connected machine, then try again.";
|
||||
}
|
||||
return message;
|
||||
|
||||
Reference in new issue
Block a user