diff --git a/src/Models/Flags.php b/src/Models/Flags.php index bc6f44c..a4ac8ee 100644 --- a/src/Models/Flags.php +++ b/src/Models/Flags.php @@ -177,7 +177,7 @@ public function getFlag(string $featureName): BaseFlag return $this->default_flag_handler->call($this, $featureName); } - throw new FlagsmithClientError('Feature does not exist'); + throw new FlagsmithClientError("Feature \"{$featureName}\" does not exist"); } if (isset($this->analytics_processor) && !empty($flag) && isset($flag->feature_name)) {