wmdatamining fix

Don't terminate the thread when function fails
print out the error log
Um, this is a mis-spelling. Should be gather. :-)