diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py index 9e34d9ea..387390e5 100644 --- a/python/samba/netcmd/domain.py +++ b/python/samba/netcmd/domain.py @@ -4257,8 +4257,8 @@ class cmd_domain_schema_upgrade(Command): try: from samba.ms_schema_markdown import read_ms_markdown except ImportError as e: - self.outf.write("Exception in importing markdown: %s" % e) - raise CommandError('Failed to import module markdown') + self.outf.write("Exception in importing markdown: %s\n" % e) + raise CommandError('Failed to import module markdown, please install python3-markdown package') from samba.schema import Schema updates_allowed_overridden = False