Fix from manjesh to stop double logging on errord transactions