diff options
Diffstat (limited to 'internal/system/output.go')
| -rw-r--r-- | internal/system/output.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/system/output.go b/internal/system/output.go index 71acace4..a1666dc3 100644 --- a/internal/system/output.go +++ b/internal/system/output.go @@ -40,6 +40,10 @@ func (e *OpError) Error() string { } func (e *OpError) Message() string { + if m, ok := message.GetMessage(e.Err); ok { + return m + } + switch { case e.Msg != "": return e.Error() |
