Don't reset error string on category fetch error.

The error string was being set and then immediately cleared by a
subsequent call to setError().

Change-Id: I3b1b1bf921f0706afae4a553d2a891ef32317e59
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>