diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-05 12:13:36 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-05 12:13:36 -0500 |
commit | f6426cee047e435fbed020105ef4e896b68b1e10 (patch) | |
tree | 176aa545420859b23ca9f0a43e37bccd6755e801 /lib/app.php | |
parent | 89823ef4f98640e43163223c7fab95d677a93ad0 (diff) | |
download | nextcloud-server-f6426cee047e435fbed020105ef4e896b68b1e10.tar.gz nextcloud-server-f6426cee047e435fbed020105ef4e896b68b1e10.zip |
Tweak failure message and throw exceptions from updateDbFromStructure()
Diffstat (limited to 'lib/app.php')
-rwxr-xr-x | lib/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app.php b/lib/app.php index 48bbe53c744..9d4ead71b90 100755 --- a/lib/app.php +++ b/lib/app.php @@ -642,7 +642,7 @@ class OC_App{ } catch (Exception $e) { echo 'Failed to upgrade "'.$app.'". Exception="'.$e->getMessage().'"'; - OC_Hook::emit('update', 'failure', 'Error updating '.$info['name'].' app: '.$e->getMessage()); + OC_Hook::emit('update', 'failure', 'Failed to update '.$info['name'].' app: '.$e->getMessage()); die; } OC_Appconfig::setValue($app, 'installed_version', OC_App::getAppVersion($app)); |