about summary refs log tree commit diff stats
path: root/geom.lua
diff options
context:
space:
mode:
Diffstat (limited to 'geom.lua')
-rw-r--r--geom.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/geom.lua b/geom.lua
index 891e98d..ea007b7 100644
--- a/geom.lua
+++ b/geom.lua
@@ -38,8 +38,7 @@ function geom.on_shape(x,y, drawing, shape)
     return geom.angle_between(center.x,center.y, x,y, shape.start_angle,shape.end_angle)
   elseif shape.mode == 'deleted' then
   else
-    print(shape.mode)
-    assert(false)
+    assert(false, ('unknown drawing mode %s'):format(shape.mode))
   end
 end