prominence-eosc / prominence

PROMINENCE server
Apache License 2.0
2 stars 0 forks source link

Give a useful error message if users try to remove completed jobs from the queue #123

Closed alahiff closed 4 years ago

alahiff commented 4 years ago

Currently it just gives a 500 internal server error, which isn't very helpful.

alahiff commented 4 years ago

Fixed in https://github.com/prominence-eosc/prominence/commit/f64aadf6446060aa09f3890e712c70d0eee50f42

alahiff commented 4 years ago

FYI the JSON returned in the event of a problem looks like this:

{"error":"Job is no longer in the queue"}

Successfully tested.