Skip to content

Commit c348003

Browse files
committed
minor #1693 [Platform] Quote class name in exception message of AbstractModelCatalog (chr-hertel)
This PR was merged into the main branch. Discussion ---------- [Platform] Quote class name in exception message of AbstractModelCatalog | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | no | Issues | | License | MIT Catched in unrelated pipeline failure of #1691 Commits ------- 6ad4f39 Quote class name in exception message of AbstractCatalog
2 parents 3310cdc + 6ad4f39 commit c348003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/src/ModelCatalog/AbstractModelCatalog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function getModel(string $modelName): Model
3838
$options = $parsed['options'];
3939

4040
if (!isset($this->models[$catalogKey])) {
41-
throw new ModelNotFoundException(\sprintf('Model "%s" not found in %s.', $actualModelName, static::class));
41+
throw new ModelNotFoundException(\sprintf('Model "%s" not found in "%s".', $actualModelName, static::class));
4242
}
4343

4444
$modelConfig = $this->models[$catalogKey];

0 commit comments

Comments
 (0)