nclskfm / square-core

SQuARE: Software for question answering research.
https://square.ukp-lab.de
2 stars 0 forks source link

Get errors from async-tasks #44

Closed BenediktStuhrmann closed 1 year ago

BenediktStuhrmann commented 1 year ago

Whenever there is an error during an async-task, we currently only get the status of the task back (i.e. we know the task failed). However it would be nice to get the exact error that caused the task to fail. => find a way to return the error that lead to the tasks failure (e.g. return the exception as the tasks result or something like that).