err doesn't always have a logtype if it is from an error outside of our code.