Index: trunk/phase3/includes/api/ApiMain.php |
— | — | @@ -263,7 +263,7 @@ |
264 | 264 | // Something is seriously wrong |
265 | 265 | // |
266 | 266 | $errMessage = array ( |
267 | | - 'code' => 'internal_api_error', |
| 267 | + 'code' => 'internal_api_error_'. get_class($e), |
268 | 268 | 'info' => "Exception Caught: {$e->getMessage()}" |
269 | 269 | ); |
270 | 270 | ApiResult :: setContent($errMessage, "\n\n{$e->getTraceAsString()}\n\n"); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -81,6 +81,8 @@ |
82 | 82 | help document. |
83 | 83 | * (bug 11405) Expand templates implementation in the API |
84 | 84 | * (bug 11218) Add option to feedwatchlist to display multiple revisions for each page. |
| 85 | +* (bug 11404) Provide name of exception caught in error code field of internal api |
| 86 | + error messages. |
85 | 87 | |
86 | 88 | === Languages updated in 1.12 === |
87 | 89 | |