Remove sys.exit from sub-modules

This commit is contained in:
Ritiek Malhotra
2020-05-12 02:50:19 +05:30
parent 150d8b0b81
commit e3e56b76a2
2 changed files with 2 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ try:
except ImportError:
logger.error("Oops! `unicode-slugify` was not found.")
logger.info("Please remove any other slugify library and install `unicode-slugify`")
sys.exit(5)
raise
# This has been referred from