Get human readable message from Python Exception
(error)
| 24 | |
| 25 | |
| 26 | def get_error_message(error): |
| 27 | """ |
| 28 | Get human readable message from Python Exception |
| 29 | """ |
| 30 | return error.args[0] if error.args else "" |
| 31 | |
| 32 | |
| 33 | class SaltException(Exception): |
no outgoing calls
no test coverage detected