This is a bug :bug:. `err` does not have a `name` property.