From: Dobrica Pavlinusic Date: Wed, 20 Feb 2013 19:13:45 +0000 (+0100) Subject: log as info not error X-Git-Tag: 0.8~5 X-Git-Url: http://git.rot13.org/?p=angular-drzb;a=commitdiff_plain;h=3cab1010e9908594ae7ef55e3aa615487e6528a4 log as info not error --- diff --git a/app/js/controllers.js b/app/js/controllers.js index 321d570..7b47fb5 100644 --- a/app/js/controllers.js +++ b/app/js/controllers.js @@ -32,7 +32,7 @@ function RegistrationCtrl($scope, $log, Registration, $routeParams, $location, $ registration.$save( function(registration) { $log.info('id =', registration.id, 'state = ', registration.state); if ( registration.id && registration.state ) { - $log.error( $location.path(), registration.state, $routeParams ); + $log.info( 'have id && state', $location.path(), registration.state, $routeParams ); if ( $location.path().split(/\//)[1] != registration.state ) { $location.path( '/' + registration.state + '/' + registration.id ); } else {