Please sign in to comment.
feature #27586 [PropertyAccess] Add Property Path to Exception Messag…
…e (rodnaph) This PR was merged into the 4.2-dev branch. Discussion ---------- [PropertyAccess] Add Property Path to Exception Message | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | None | License | MIT | Doc PR | None When an exception is thrown writing a property it is not currently obvious which path is at fault (eg. `Expected argument of type "%s", "%s" given` - but where?). This patch appends the current property path to the exception so it is clear which path caused the error (eg. `Expected argument of type "%s", "%s" given at property path "foo.bar"`) Commits ------- 473a025 add property path to exception message when error writing property
- Loading branch information...
Showing with 4 additions and 4 deletions.