about summary refs log tree commit diff
path: root/src/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/root.zig')
-rw-r--r--src/root.zig4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/root.zig b/src/root.zig
index 5ea9dc9..fc4472f 100644
--- a/src/root.zig
+++ b/src/root.zig
@@ -356,12 +356,10 @@ pub fn eval(comptime T: type, str: []const u8,
     var ret: Value = undefined;
     const errflags = janet.dobytes(root_env, str.ptr, @intCast(str.len),
                                    src, &ret);
-    // Errors are already logged by Janet,
-    // among them only one is returned and not machine-readable.
     return if (errflags == 0) .{
         .ret = try unwrap(T, ret)
     } else .{
-        .err = try unwrap([]const u8, ret)
+        .err = try unwrap([]const u8, ret) // TODO: trace
     };
 }