fix: Remove query from literal error stream

The parser can't handle colons in the expression (it throws/crashes)
This commit is contained in:
John Colvin committed 2025-11-03 16:13:16 -05:00
1 parent bdfef3d9b1
commit 33764aaa28
1 file changed
+1 -2
@@ -12,8 +12,7 @@ namespace bts.BlueOrb {
public DSLStream(string dsl) {
Log.Gen.info($"DSLStream.cons dsl: {dsl}");
_dsl = dsl;
ViewStream rs = build_stream(dsl);
rs = rs ?? new LiteralStream("error", $"msg:invalid dsl \"{dsl}\"");
ViewStream rs = build_stream(dsl) ?? new LiteralStream("error", $"msg:invalid dsl");
mySetRealSource(rs);
}