summaryrefslogtreecommitdiffstats
path: root/lib/app.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-07-22 23:04:14 +0200
committerBart Visscher <bartv@thisnet.nl>2013-07-22 23:04:14 +0200
commit179b42c56deeb37cf8c3f782bcd145daac64404b (patch)
tree62d81da31b8dd32c03688f0eac35a7a1ab4db108 /lib/app.php
parent25e3c9cbeb7b6e643c748fcf393509c3a32b68d6 (diff)
downloadnextcloud-server-179b42c56deeb37cf8c3f782bcd145daac64404b.tar.gz
nextcloud-server-179b42c56deeb37cf8c3f782bcd145daac64404b.zip
Fixed review issues
Diffstat (limited to 'lib/app.php')
-rw-r--r--lib/app.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/app.php b/lib/app.php
index 115b7d60f5e..2437896157a 100644
--- a/lib/app.php
+++ b/lib/app.php
@@ -840,7 +840,8 @@ class OC_App{
}
catch (Exception $e) {
OC_Hook::emit('update', 'failure', 'Failed to update '.$info['name'].' app: '.$e->getMessage());
- throw new RuntimeException('Failed to upgrade "'.$app.'". Exception="'.$e->getMessage().'"');
+ $l = OC_L10N::get('lib');
+ throw new RuntimeException($l->t('Failed to upgrade "%s".', array($app)), 0, $e);
}
OC_Appconfig::setValue($app, 'installed_version', OC_App::getAppVersion($app));
}