The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 25, 17:15 UTC
rm unserializable
Julius Marminge committed
Feb 26, 2026 at 00:19 UTC
1e75bd223c1d5348b1a73762a0ecfd1b62fcf830
1 file changed
+3
-5
apps/server/src/orchestration/Errors.ts
+3
-5
@@ -1,8 +1,6 @@
1
import { SchemaIssue, Schema } from "effect";
2
3
-import type {
4
- ProjectionRepositoryError,
5
-} from "../persistence/Errors.ts";
3
+import type { ProjectionRepositoryError } from "../persistence/Errors.ts";
4
5
export class OrchestrationCommandJsonParseError extends Schema.TaggedErrorClass<OrchestrationCommandJsonParseError>()(
6
"OrchestrationCommandJsonParseError",
@@ -110,7 +108,7 @@ export function toProjectorDecodeError(eventType: string) {
108
109
export function toOrchestrationJsonParseError(cause: unknown) {
110
return new OrchestrationCommandJsonParseError({
113
- detail: `Failed to parse orchestration command JSON: ${cause}`,
111
+ detail: `Failed to parse orchestration command JSON`,
112
cause,
113
});
114
}
@@ -119,7 +117,7 @@ export function toListenerCallbackError(listener: "read-model" | "domain-event")
117
return (cause: unknown): OrchestrationListenerCallbackError =>
118
new OrchestrationListenerCallbackError({
119
listener,
122
- detail: `Failed to invoke orchestration ${listener} listener: ${cause}`,
120
+ detail: `Failed to invoke orchestration ${listener} listener`,
121
cause,
122
});
123
}