Skip to content

Commit

Permalink
Merge pull request #177 from thetic/master
Browse files Browse the repository at this point in the history
Improve import error logging
  • Loading branch information
synesthesiam authored Jul 1, 2024
2 parents 6d11883 + c6d1dec commit 65c123f
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.fatal("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.fatal("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 65c123f

Please sign in to comment.