diff options
Diffstat (limited to 'lib/app.php')
-rw-r--r-- | lib/app.php | 3 |
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)); } |