Add method name missing to raised error message