- Still WIP on removing annotations
This commit is contained in:
1 parent
62792e8325
commit
d9fa51fa18
5 files changed
+28
-16
No files matched your search
@@ -89,7 +89,7 @@ class RelationBuilder
|
||||
}
|
||||
}
|
||||
catch(\Throwable $e) {
|
||||
throw new $e(sprintf("An error occurred while calling method from your #[Virtual] attribute in entity '%s::%s'.", $this->entity::class, $name ));
|
||||
throw new $e(sprintf("An error occurred while calling method from your #[Virtual] attribute in entity '%s::%s'. Caught '%s'", $this->entity::class, $name, $e->getMessage() ));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user