From 93c44e6186a80c552f9d9c555f58d7cacf8e5709 Mon Sep 17 00:00:00 2001 From: Philipp Date: Fri, 8 Oct 2021 13:36:19 +0200 Subject: [PATCH] exception msg .. once again ;-) --- src/Model/ProfileField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/ProfileField.php b/src/Model/ProfileField.php index 4bba9f495..66833890e 100644 --- a/src/Model/ProfileField.php +++ b/src/Model/ProfileField.php @@ -67,7 +67,7 @@ class ProfileField extends BaseModel if (empty($this->permissionSet)) { $permissionSet = $this->permissionSetDepository->selectOneById($this->psid); if ($permissionSet->uid !== $this->uid) { - throw new NotFoundException(sprintf('PermissionSet %d for ProfileField %d is invalid.', $permissionSet->uid, $this->uid)); + throw new NotFoundException(sprintf('PermissionSet %d (user-id: %d) for ProfileField %d (user-id: %d) is invalid.', $permissionSet->id, $permissionSet->uid, $this->id, $this->uid)); } $this->permissionSet = $permissionSet;