summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-22 12:37:45 -0700
committerBrion Vibber <brion@pobox.com>2010-03-22 12:37:45 -0700
commit26f49de0dd5673584e734152d2d3329b90eb6978 (patch)
tree2ba00544c77cc3bfe0cafb4fa8fe60ce73d31d79 /index.php
parentc85228eadc60b50ed6e7c9cba596c3e66f5214b2 (diff)
parent27bfd1211d64298ee3c3b2d82d7b38ca1e1167ad (diff)
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Conflicts: lib/attachmentlist.php
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 4c879fe9a..6bfbc11da 100644
--- a/index.php
+++ b/index.php
@@ -324,10 +324,10 @@ function main()
$cac = new ClientErrorAction($cex->getMessage(), $cex->getCode());
$cac->showPage();
} catch (ServerException $sex) { // snort snort guffaw
- $sac = new ServerErrorAction($sex->getMessage(), $sex->getCode());
+ $sac = new ServerErrorAction($sex->getMessage(), $sex->getCode(), $sex);
$sac->showPage();
} catch (Exception $ex) {
- $sac = new ServerErrorAction($ex->getMessage());
+ $sac = new ServerErrorAction($ex->getMessage(), 500, $ex);
$sac->showPage();
}
}