Page MenuHomePhabricator

Don't log whiny exceptions for AJAX requests
Needs ReviewPublic

Authored by joshuaspence on Jul 30 2017, 10:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 6:40 PM
Unknown Object (File)
Thu, Apr 11, 10:45 AM
Unknown Object (File)
Sun, Mar 31, 7:28 AM
Unknown Object (File)
Sun, Mar 31, 7:28 AM
Unknown Object (File)
Mar 23 2024, 2:47 AM
Unknown Object (File)
Feb 12 2024, 3:26 PM
Unknown Object (File)
Feb 10 2024, 4:13 AM
Unknown Object (File)
Jan 25 2024, 12:27 AM
Subscribers

Details

Summary

Ref T11480. This is the same fixed as in D16402, but this also applies to PhabricatorAjaxRequestExceptionHandler.

Test Plan
  1. Opened a page with a comment box.
  2. Whilst the page was opened, use bin/config set to change phabricator.csrf-key.
  3. Typed into the comment box.
  4. Observed that no AphrontMalformedRequestException was logged.

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 17842
Build 23963: Run Core Tests
Build 23962: arc lint + arc unit