Angular 2 redirect in http/rxjs catch callback causes TypeError: Cannot read property 'subscribe' of undefined

后端 未结 1 1405
别跟我提以往
别跟我提以往 2021-01-22 07:53

When redirecting from the rxjs catch function I get the error: EXCEPTION: TypeError: Cannot read property \'subscribe\' of undefined

Here\'s the relevant pa

1条回答
  •  粉色の甜心
    2021-01-22 08:09

    There is a return missing

    return this.handleError(err)
    

    0 讨论(0)
提交回复
热议问题