diff --git a/zfs/zfs.go b/zfs/zfs.go index 5040567..577449e 100644 --- a/zfs/zfs.go +++ b/zfs/zfs.go @@ -136,7 +136,7 @@ type ZFSError struct { } func (e ZFSError) Error() string { - return fmt.Sprintf("zfs exited with error: %s", e.WaitErr.Error()) + return fmt.Sprintf("zfs exited with error: %s\nstderr:\n%s", e.WaitErr.Error(), e.Stderr) } var ZFS_BINARY string = "zfs"