Spage has uploaded a new change for review.
https://gerrit.wikimedia.org/r/106869
Change subject: Fix fatal from exception, and improve its message
......................................................................
Fix fatal from exception, and improve its message
Bug: 599400
Change-Id: Id803f4e950f4ba7f7e78e19804847eb9f5829fed
---
M includes/Model/Workflow.php
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/69/106869/1
diff --git a/includes/Model/Workflow.php b/includes/Model/Workflow.php
index 99e9b93..11f038e 100644
--- a/includes/Model/Workflow.php
+++ b/includes/Model/Workflow.php
@@ -5,6 +5,7 @@
use MWTimestamp;
use Title;
use User;
+use Flow\Exception\FlowException;
use Flow\Exception\DataModelException;
use Flow\Exception\InvalidInputException;
@@ -93,7 +94,7 @@
public function getArticleTitle() {
if ( $this->wiki !== wfWikiId() ) {
- throw new FlowException( 'Interwiki not implemented',
'default' );
+ throw new FlowException( 'Interwiki to ' . $this->wiki
. ' not implemented ', 'default' );
}
return Title::makeTitleSafe( $this->namespace, $this->titleText
);
}
--
To view, visit https://gerrit.wikimedia.org/r/106869
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id803f4e950f4ba7f7e78e19804847eb9f5829fed
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Spage <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits