Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Devise a better error handling / exception strategy #19

Open
mpreisler opened this issue Oct 17, 2015 · 0 comments
Open

Devise a better error handling / exception strategy #19

mpreisler opened this issue Oct 17, 2015 · 0 comments
Assignees
Milestone

Comments

@mpreisler
Copy link
Member

Right now we let the raw exceptions bubble through. The daemon is exception safe and cleans up in case of errors but the reporting of the errors is more suitable for developers than users.

@ybznek suggested that we should wrap common errors in exception classes specific to the daemon and show better messages.

Examples:
When task of ID X is not found we show "Task X was not found." instead of "File /a/b/c/d/tasks/1.xml cannot be opened".

This task includes the research of how to handle this.

@mpreisler mpreisler added this to the 0.2.0 milestone Aug 10, 2016
@matejak matejak self-assigned this Oct 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants