Bartosz Dziewoński has uploaded a new change for review.
https://gerrit.wikimedia.org/r/174846
Change subject: Remove accidental double try-catch from 76800b47
......................................................................
Remove accidental double try-catch from 76800b47
Change-Id: I99b2a06342c096b6284af6e2bdec3fa8f008f857
---
M php/Tag.php
1 file changed, 1 insertion(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/46/174846/1
diff --git a/php/Tag.php b/php/Tag.php
index 7528929..2b5fb83 100644
--- a/php/Tag.php
+++ b/php/Tag.php
@@ -264,10 +264,7 @@
try {
return $this->toString();
} catch ( Exception $ex ) {
- try {
- trigger_error( (string)$ex, E_USER_ERROR );
- } catch ( Exception $ex ) {
- }
+ trigger_error( (string)$ex, E_USER_ERROR );
return '';
}
}
--
To view, visit https://gerrit.wikimedia.org/r/174846
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I99b2a06342c096b6284af6e2bdec3fa8f008f857
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits