tbouron commented on a change in pull request #159: Manage backend errors 
including expired sessions
URL: https://github.com/apache/brooklyn-ui/pull/159#discussion_r365888028
 
 

 ##########
 File path: ui-modules/utils/server-status/server-status.js
 ##########
 @@ -73,7 +73,7 @@ export function BrServerStatusDirective() {
                         // we're now getting a new server error, possibly 
because the old error has expired
                         // but changing the message for the user would be 
confusing so don't do that!
                         // eg we get a 405 after a 307 (which the browser 
handles automatically) if redirected to Google for login
-                        console.log("Server responded \"" + stateData + "\" 
after previous problem \"" + previousState + "\"");
+                        $log.info("Server responded \"" + stateData + "\" 
after previous problem \"" + previousState + "\"");
 
 Review comment:
   @jcabrerizo You need to add `$log` as the last parameter of the controller 
function (line 42)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to