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

feat saved alarms 2 #350

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

thiswillbeyourgithub
Copy link
Contributor

@thiswillbeyourgithub thiswillbeyourgithub commented Aug 17, 2022

quick fix after @fgaz 's late review (#344)

  • quick fix: using indices for alarms
  • fix: showing exception if saving alarms failed

thiswillbeyourgithub added 2 commits August 17, 2022 13:00
Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
Comment on lines +104 to +106
except Exception as err:
wasp.system.switch(PagerApp("Error when reloading alarms: "
"'{}'".format(err)))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this trigger also the first time the app is run, when the file is not there yet?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. My personnal inclination is of course to pay attention to this kind of things but on waspos given that every line seems to count I felt that was a good compromise.

What do you think?

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

Successfully merging this pull request may close these issues.

None yet

2 participants