Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle errors gracefully #1

Closed
xlfe opened this issue Mar 24, 2022 · 0 comments
Closed

Handle errors gracefully #1

xlfe opened this issue Mar 24, 2022 · 0 comments

Comments

@xlfe
Copy link
Owner

xlfe commented Mar 24, 2022

Traceback (most recent call last):
  File "/root/bb/./pod-xlfe-radiale.py", line 6, in <module>
    asyncio.run(pod.RadialePod().run_pod())
  File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/root/bb/radiale/pod.py", line 165, in run_pod
    await asyncio.create_task(            
  File "/root/bb/radiale/esphome.py", line 5, in subscribe_esp
    host, port = opts['addresses'][0]     
IndexError: list index out of range
@xlfe xlfe closed this as completed in dc78cc6 Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant