diff --git a/src/operations/index.js b/src/operations/index.js index a0e82be..04d1145 100644 --- a/src/operations/index.js +++ b/src/operations/index.js @@ -61,7 +61,7 @@ module.exports = angular.module('accountant.operations', [ * Controller for the operations. */ .controller('OperationController', function($routeParams, $modal, - Notification, Operation, Account, $log) { + Notification, Operation, Account) { var vm = this; @@ -123,8 +123,6 @@ module.exports = angular.module('accountant.operations', [ return operation; }, function(result){ - $log.error('Error while saving operation', operation, result); - Notification.error( 'Error while saving operation: ' + result.message );