From 8dd094c78ad124ed13ace7eb4bdec8c6f897d4e3 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Wed, 7 Feb 2024 20:39:27 -0700 Subject: [PATCH] try to catch elusive error --- src/hollywoo/Movie.kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hollywoo/Movie.kiss b/src/hollywoo/Movie.kiss index b968445..a400c3b 100644 --- a/src/hollywoo/Movie.kiss +++ b/src/hollywoo/Movie.kiss @@ -257,7 +257,7 @@ (method :String getPropName [:Prop prop] (doFor [_prop name] propNames (when (= prop _prop) (return name))) - (throw "Couldn't get name of prop $prop")) + (throw "Couldn't get name of prop $prop in $propNames")) (method _addProp [name :Prop prop] (assert isLoading) @@ -287,7 +287,7 @@ (method :String getActorName [:Actor actor] (doFor [_actor name] actorNames (when (= actor _actor) (return name))) - (throw "Couldn't get name of actor $actor")) + (throw "Couldn't get name of actor $actor in $actorNames")) (method _addActor [name :Actor actor] (assert isLoading)