Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3751216
D251.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
452 B
Referenced Files
None
Subscribers
None
D251.diff
View Options
diff --git a/app/Actions/ActionError.php b/app/Actions/ActionError.php
--- a/app/Actions/ActionError.php
+++ b/app/Actions/ActionError.php
@@ -22,7 +22,7 @@
* Initializes a new action error report instance from the specified Exception
*/
public function __construct (\Exception $ex) {
- $this->type = get_class($ex);
+ $this->type = class_basename(get_class($ex));
$this->message = $ex->getMessage();
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 06:39 (22 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250393
Default Alt Text
D251.diff (452 B)
Attached To
Mode
D251: Strip namespace from exception type in ActionError
Attached
Detach File
Event Timeline
Log In to Comment