Category add fails on redirect

Don't crash when trying to follow redirects to add a category.
Storing the exception is no longer required.

Bug: 68694

Change-Id: Ibd85350cda6b511afd3b7a335abe20bd4ac0899e