Removing reduntant error message
parent
946a18377d
commit
6d8e0d21ac
|
@ -147,7 +147,6 @@ configure = ($routeProvider, $locationProvider, $httpProvider, $provide, tgLoade
|
||||||
return (promise) ->
|
return (promise) ->
|
||||||
return promise.then null, (response) ->
|
return promise.then null, (response) ->
|
||||||
if response.status == 0
|
if response.status == 0
|
||||||
$confirm.notify("error", "One of our Oompa Loompas says we are having a network problem. Please, try again in a few moments.") #TODO: i18n
|
|
||||||
$location.path("/error")
|
$location.path("/error")
|
||||||
else if response.status == 401
|
else if response.status == 401
|
||||||
nextPath = $location.path()
|
nextPath = $location.path()
|
||||||
|
|
Loading…
Reference in New Issue