Ref T8156. Change the error output from arcanist to respect the output from custom __toString() methods.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T8156: Linter failures don't provide relevant stacktraces
Created a custom Exception class which implemented a __toString() method. Saw exception messages as expected.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- master
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 6381 Build 6403: [Placeholder Plan] Wait for 30 Seconds
Event Timeline
Comment Actions
Is this still relevant? What's the remaining use case for implementing a custom __toString() instead of having getMessage() return the desired value? (It looks like none of our exceptions implement __toString().)