fix: resultdump: Check that the error has a circuit

Because if the error is not a circuit error, it does not have that
attribute.
7 jobs for maint-1.1_issue40008_chutney_02 in 23 minutes and 44 seconds
latest