Skip to content

refactor: Use t.Fatal instead of t.Error

Administrator requested to merge refactor/fatal-runs-defers into master

Created by: tsenart

This commit changes instances of t.Error followed by an immediate return with t.Fatal, where valid.

Up until today I thought that t.Fatal didn't run defers.

I was wrong as @dominikh pointed out in a PR in vegeta.

Merge request reports

Loading