jenkins-bot has submitted this change and it was merged.
Change subject: exception-fix
......................................................................
exception-fix
Change-Id: I6b9e7ad526209ffc20899fae7a73480dc3d41ffe
---
M includes/Tag/TagHandler.php
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
MaxSem: Looks good to me, approved
Yurik: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/Tag/TagHandler.php b/includes/Tag/TagHandler.php
index b61d6ab..b7e6fda 100644
--- a/includes/Tag/TagHandler.php
+++ b/includes/Tag/TagHandler.php
@@ -359,6 +359,7 @@
/**
* @return string
+ * @throws Exception
*/
private function reportError() {
$this->parser->getOutput()->setExtensionData(
'kartographer_broken', true );
@@ -366,7 +367,7 @@
$this->status->getErrorsByType( 'warning' )
);
if ( !count( $errors ) ) {
- throw new Exception( __METHOD__ , '(): attempt to
report error when none took place' );
+ throw new Exception( __METHOD__ . '(): attempt to
report error when none took place' );
}
$message = count( $errors ) > 1 ?
'kartographer-error-context-multi'
: 'kartographer-error-context';
--
To view, visit https://gerrit.wikimedia.org/r/275556
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6b9e7ad526209ffc20899fae7a73480dc3d41ffe
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Kartographer
Gerrit-Branch: master
Gerrit-Owner: Yurik <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: Yurik <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits