We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit a984aae5 authored by Zach Copley's avatar Zach Copley

Show a reasonable error message when an image is bad, instead of

letting the exception continue bubbling up.
parent ac880bd6
......@@ -22,7 +22,7 @@
* @category Applications
* @package StatusNet
* @author Zach Copley <zach@status.net>
* @copyright 2008-2009 StatusNet, Inc.
* @copyright 2008-2011 StatusNet, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
......@@ -290,7 +290,13 @@ class NewApplicationAction extends OwnerDesignAction
try {
} catch (Exception $e) {
$this->showForm(_('Invalid image.'));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment