diff --git a/src/Pho/Framework/Handlers/Gateway.php b/src/Pho/Framework/Handlers/Gateway.php index eed9176..dd49421 100644 --- a/src/Pho/Framework/Handlers/Gateway.php +++ b/src/Pho/Framework/Handlers/Gateway.php @@ -150,6 +150,6 @@ public function switch(string $name, array $args) /*: \Pho\Lib\Graph\EntityInte } } } - throw new InvalidParticleMethodException(get_class($this->particle), $name); + throw new InvalidParticleMethodException(get_class($this->particle), $name, (string) $this->particle->id()); } }