Page MenuHomePhorge

No OneTemporary

Size
592 B
Referenced Files
None
Subscribers
None
diff --git a/includes/widget/SpinnerWidget.php b/includes/widget/SpinnerWidget.php
index 9b528c3423e..f66b303aab3 100644
--- a/includes/widget/SpinnerWidget.php
+++ b/includes/widget/SpinnerWidget.php
@@ -2,7 +2,6 @@
namespace MediaWiki\Widget;
-use Exception;
use MediaWiki\Html\Html;
use Stringable;
@@ -64,10 +63,6 @@ class SpinnerWidget implements Stringable {
* @return string
*/
public function __toString() {
- try {
- return $this->toString();
- } catch ( Exception $ex ) {
- trigger_error( (string)$ex, E_USER_ERROR );
- }
+ return $this->toString();
}
}

File Metadata

Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:33 AM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227754
Default Alt Text
(592 B)

Event Timeline