persisted the class method taht caused the error on trovis