about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix')
-rw-r--r--tvix/eval/src/vm.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tvix/eval/src/vm.rs b/tvix/eval/src/vm.rs
index fecaae37aa5b..259fbf7d11f8 100644
--- a/tvix/eval/src/vm.rs
+++ b/tvix/eval/src/vm.rs
@@ -673,7 +673,9 @@ impl VM {
             | Value::AttrNotFound
             | Value::DynamicUpvalueMissing(_)
             | Value::Blueprint(_)
-            | Value::DeferredUpvalue(_) => panic!("tvix bug: internal value left on stack"),
+            | Value::DeferredUpvalue(_) => {
+                panic!("tvix bug: internal value left on stack: {:?}", value)
+            }
 
             _ => Ok(()),
         }