1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00
phorge-phorge/webroot/rsrc/css/application
epriestley 08126d3904 Improve top-level exception handling
Summary:
Fixes T6692. Addresses two main issues:

  - The write guard would sometimes not get disposed of on exception pathways, generating an unnecessary secondary error which was just a symptom of the original root error.
    - This was generally confusing and reduced the quality of reports we received because users would report the symptomatic error sometimes instead of the real error.
    - Instead, reflow the handling so that we always dispose of the write guard if we create one.
  - If we missed the Controller-level error page generation (normally, a nice page with full CSS, etc), we'd jump straight to Startup-level error page generation (very basic plain text).
    - A large class of errors occur too early or too late to be handled by Controller-level pages, but many of these errors are not fundamental, and the plain text page is excessively severe.
    - Provide a mid-level simple HTML error page for errors which can't get full CSS, but also aren't so fundamental that we have no recourse but plain text.

Test Plan:
Mid-level errors now produce an intentional-looking error page:

{F259885}

Verified that setup errors still render properly.

@chad, feel free to tweak the exception page -- I just did a rough pass on it. Like the setup error stuff, it doesn't have Celerity, so we can't use `{$colors}` and no other CSS will be loaded.

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley, chad

Maniphest Tasks: T6692

Differential Revision: https://secure.phabricator.com/D11126
2015-01-02 10:49:27 -08:00
..
almanac Allow Almanac service types to define default properties 2014-12-17 11:10:50 -08:00
auth Clean up external accounts page 2013-11-24 19:14:16 -08:00
base Minor fixes for CSS linter issues 2014-12-30 02:48:26 -08:00
chatlog Make chatlog bg white 2014-02-12 09:55:53 -08:00
config Improve top-level exception handling 2015-01-02 10:49:27 -08:00
conpherence Minor indentation fixes 2014-12-30 02:50:01 -08:00
contentsource Move #888 and #999 to $lightgreytext 2013-09-02 08:12:18 -07:00
countdown Move #888 and #999 to $lightgreytext 2013-09-02 08:12:18 -07:00
dashboard Move ActionHeaders to PHUI, add ObjectBox Support, new Colors 2014-06-24 09:39:32 -07:00
diff Reduce loudness of Inline Comments 2014-05-01 21:59:59 -07:00
differential Fix mobile CSS for lint/unit results table 2014-09-30 09:47:54 -07:00
diffusion Convert Audit comment rendering to standard infrastructure 2014-07-28 15:01:43 -07:00
feed Minor fixes for CSS linter issues 2014-12-30 02:48:26 -08:00
files Move all CSS "z-index" rules to "z-index.css", fix Differential z-index problem 2012-12-30 09:30:21 -08:00
flag Move PhabricatorObjectItem to PHUIObjectItem, add 'plain' setting for lists. 2013-09-09 14:14:34 -07:00
harbormaster Hide empty build logs 2014-08-06 10:28:13 +10:00
herald Clean up Multirow Manager UI 2014-11-17 14:06:05 -08:00
maniphest Add back maniphest group headers to Dashboards 2014-10-21 10:07:20 -07:00
objectselector Update ObjectSelector CSS 2013-11-30 19:47:20 -08:00
owners Move #666 to $greytext in UIColor 2013-09-02 08:08:54 -07:00
paste Line count can be set for paste 2013-03-14 10:51:34 -07:00
people Various linter fixes. 2014-02-26 12:44:58 -08:00
phame Phame - add some application polish. 2014-04-30 13:19:14 -07:00
pholio Update Pholio to use pink instead of indigo 2014-10-21 10:06:10 -07:00
phortune Make Phortune checkout UI a little less bad 2014-07-23 10:36:37 -07:00
phrequent UIColor Blues and common color integration 2013-09-02 08:10:47 -07:00
phriction Update Phriction History UI 2014-03-30 11:18:49 -07:00
policy Clean up Multirow Manager UI 2014-11-17 14:06:05 -08:00
ponder Add objectheaders to new View 2013-09-28 15:55:38 -07:00
profile Check calendar is installed on profile 2014-09-26 09:28:37 -07:00
projects Use standard tag elements instead of "maniphest project tag" to show tags in list views 2014-06-26 08:49:44 -07:00
releeph Use standard UI elements to render pull requests in Releeph 2014-04-18 06:44:45 -07:00
search Move #888 and #999 to $lightgreytext 2013-09-02 08:12:18 -07:00
slowvote Move #888 and #999 to $lightgreytext 2013-09-02 08:12:18 -07:00
tokens Make tokens more accessible to assitive technologies 2014-05-05 10:54:34 -07:00
uiexample Clean up FontAwesome / Timeline CSS 2014-04-22 18:29:14 -07:00