tasks now log errors as json