Alexia has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cargo 
refs/changes/02/405902/1

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: newchange
Gerrit-Change-Id: I97eeba76715088775b50a70b71ee908dd885c78e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cargo
Gerrit-Branch: master
Gerrit-Owner: Alexia <was...@gmail.com>

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

Reply via email to