jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/405902 )

Change subject: The dieUsage function has two required arguments.
......................................................................


The dieUsage function has two required arguments.

Change-Id: I97eeba76715088775b50a70b71ee908dd885c78e
---
M api/CargoQueryAPI.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Yaron Koren: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/api/CargoQueryAPI.php b/api/CargoQueryAPI.php
index 6be5dc5..727f274 100644
--- a/api/CargoQueryAPI.php
+++ b/api/CargoQueryAPI.php
@@ -32,7 +32,7 @@
                try {
                        $queryResults = $sqlQuery->run();
                } catch ( Exception $e ) {
-                       $this->dieUsage( $e );
+                       $this->dieUsage( $e, 'db_error' );
                }
 
                // Format data as the API requires it.

-- 
To view, visit https://gerrit.wikimedia.org/r/405902
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I97eeba76715088775b50a70b71ee908dd885c78e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cargo
Gerrit-Branch: master
Gerrit-Owner: Alexia <was...@gmail.com>
Gerrit-Reviewer: Yaron Koren <yaro...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to