diff --git a/cli/types.ts b/cli/types.ts index 4de8c760b4..c39f7688d7 100644 --- a/cli/types.ts +++ b/cli/types.ts @@ -119,7 +119,9 @@ export async function pushObj( } else if (typeEnding === "schedule") { await pushSchedule(workspace, p, befObj, newObj); } else { - throw new Error("infer type unreachable"); + throw new Error( + `The item ${p} has an unrecognized type ending ${typeEnding}` + ); } }