console.error any backup error message for now

This commit is contained in:
Girish Ramakrishnan
2015-07-28 14:30:40 -07:00
parent b96fc2bc56
commit f582ba1ba7

View File

@@ -219,6 +219,7 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca
// check if we are done
if (!data.backup || data.backup.percent >= 100) {
if (data.backup && data.backup.message) console.error('Backup message: ' + data.backup.message); // backup error message
fetchBackups();
$scope.createBackup.busy = false;
return;