- Still WIP on removing annotations

This commit is contained in:
mcndave committed 2023-12-04 12:36:06 -05:00
1 parent 62792e8325
commit d9fa51fa18
5 files changed
+28 -16

No files matched your search

+1 -1
View File
@@ -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() ));
}
}