Page MenuHomePhabricator

Change arcanist error output
AbandonedPublic

Authored by joshuaspence on May 15 2015, 2:23 AM.
Tags
None
Referenced Files
F15451127: D12851.id.diff
Fri, Mar 28, 8:17 PM
F15448933: D12851.id31554.diff
Fri, Mar 28, 7:45 AM
F15443797: D12851.diff
Thu, Mar 27, 6:15 AM
F15422954: D12851.id31554.diff
Sat, Mar 22, 11:39 AM
F15421176: D12851.diff
Fri, Mar 21, 9:27 PM
F15416641: D12851.diff
Thu, Mar 20, 12:42 PM
F15412457: D12851.id31554.diff
Wed, Mar 19, 1:06 PM
F15396861: D12851.id31554.diff
Sun, Mar 16, 4:41 PM
Subscribers

Details

Summary

Ref T8156. Change the error output from arcanist to respect the output from custom __toString() methods.

Test Plan

Created a custom Exception class which implemented a __toString() method. Saw exception messages as expected.

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

joshuaspence retitled this revision from to Change arcanist error output.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
joshuaspence edited the test plan for this revision. (Show Details)

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().)