Caught attribute error in the linter, made it a meaningful error instead