Page MenuHomePhabricator

Make exception reporting from `arc` be in red
ClosedPublic

Authored by alexmv on Apr 20 2017, 9:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 31, 2:20 PM
Unknown Object (File)
Sat, Mar 30, 4:34 AM
Unknown Object (File)
Sat, Mar 30, 1:05 AM
Unknown Object (File)
Sat, Mar 23, 2:55 PM
Unknown Object (File)
Mar 14 2024, 2:56 PM
Unknown Object (File)
Feb 3 2024, 3:39 PM
Unknown Object (File)
Feb 2 2024, 7:25 PM
Unknown Object (File)
Jan 23 2024, 2:25 AM
Subscribers

Details

Summary

Many other status updates (such as "Builds passed!") show up
in bright background colors, making them more salient than a final
fatal "Exception".

Make exception reporting be just as colorful, so it stands out.

Test Plan

Added an explicit throw new Exception("!!!") and saw it
in red.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

For consistency with other similar color blocks, consider ** %s ** (that is, put spaces around the string so there's more color at either end).

This revision is now accepted and ready to land.Apr 20 2017, 10:11 PM
This revision was automatically updated to reflect the committed changes.