Page MenuHomePhabricator

D11771.id.diff
No OneTemporary

D11771.id.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
Mar 23 2025, 1:17 AM (4 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7381827
Default Alt Text
D11771.id.diff (601 B)

Event Timeline