Skip to content

Commit

Permalink
Clarify import error message
Browse files Browse the repository at this point in the history
  • Loading branch information
thetic committed Jun 16, 2024
1 parent 2f6ec1d commit c6d1dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wyoming_satellite/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,14 +308,14 @@ async def main() -> None:
try:
import webrtc_noise_gain # noqa: F401
except ImportError:
_LOGGER.exception("Install extras for webrtc")
_LOGGER.exception("Extras for webrtc are not installed")
sys.exit(1)

if needs_silero(args):
try:
import pysilero_vad # noqa: F401
except ImportError:
_LOGGER.exception("Install extras for silerovad")
_LOGGER.exception("Extras for silerovad are not installed")
sys.exit(1)

if args.awake_wav and (not Path(args.awake_wav).is_file()):
Expand Down

0 comments on commit c6d1dec

Please sign in to comment.