Page MenuHomePhabricator

D11771.id28380.diff
No OneTemporary

D11771.id28380.diff

diff --git a/src/aphront/response/AphrontUnhandledExceptionResponse.php b/src/aphront/response/AphrontUnhandledExceptionResponse.php
--- a/src/aphront/response/AphrontUnhandledExceptionResponse.php
+++ b/src/aphront/response/AphrontUnhandledExceptionResponse.php
@@ -22,7 +22,13 @@
}
protected function getResponseTitle() {
- return pht('Unhandled Exception');
+ $ex = $this->exception;
+
+ if ($ex instanceof AphrontUsageException) {
+ return $ex->getTitle();
+ } else {
+ return pht('Unhandled Exception');
+ }
}
protected function getResponseBodyClass() {

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 25, 12:23 AM (3 w, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8574747
Default Alt Text
D11771.id28380.diff (601 B)

Event Timeline