Thumbnails: Add back the error() before the error return

The missing error() caused an assertion failure in
SlaveBasePrivate::verifyState("get()") - it is not allowed to
return from get() without calling error() or finished().
1 job for master in 6 minutes and 45 seconds (queued for 26 minutes and 44 seconds)