dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cea036
)
Remove stash handling when other errors are the problem
author
Mark Holmquist
<mtraceur@member.fsf.org>
Mon, 24 Nov 2014 19:24:11 +0000
(13:24 -0600)
committer
Mark Holmquist
<mtraceur@member.fsf.org>
Mon, 24 Nov 2014 19:24:11 +0000
(13:24 -0600)
This interferes with getting the correct error message, which makes it
nearly impossible to help debug problems...
Change-Id: Ib04b897bc912065aaa4900f7904fe724ffec5385
includes/api/ApiUpload.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiUpload.php
b/includes/api/ApiUpload.php
index
9ddadcb
..
43e4c61
100644
(file)
--- a/
includes/api/ApiUpload.php
+++ b/
includes/api/ApiUpload.php
@@
-182,8
+182,6
@@
class ApiUpload extends ApiBase {
try {
$result['filekey'] = $this->performStash();
$result['sessionkey'] = $result['filekey']; // backwards compatibility
- } catch ( UploadStashException $e ) {
- $this->handleStashException( $e );
} catch ( MWException $e ) {
$result['warnings']['stashfailed'] = $e->getMessage();
}