TaskUtils: More options to log errors
Small stuff.