Closed pederhan closed 4 months ago
>>> from mreg_cli.exceptions import LoginFailedError >>> exc = LoginFailedError("This is the reason we failed to login!") >>> exc.formatted_exception() 'Login failed: Login failed'
https://github.com/unioslo/mreg-cli/blob/7485ec11c2a9ce58b4d615e85443e85e87290c5f/mreg_cli/exceptions.py#L168-L180
Specifically this line:
https://github.com/unioslo/mreg-cli/blob/7485ec11c2a9ce58b4d615e85443e85e87290c5f/mreg_cli/exceptions.py#L176
Fixed in https://github.com/unioslo/mreg-cli/pull/277 but it wasn't automatically closed?
https://github.com/unioslo/mreg-cli/blob/7485ec11c2a9ce58b4d615e85443e85e87290c5f/mreg_cli/exceptions.py#L168-L180
Specifically this line:
https://github.com/unioslo/mreg-cli/blob/7485ec11c2a9ce58b4d615e85443e85e87290c5f/mreg_cli/exceptions.py#L176