forked from fedora-copr/copr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend: re-raise errors to API instead of passing null
get_build_record and get_srpm_build_record methods returns None in case of exception or empty task which results in null response in API endpoints. Backend worker don't expect null value, tries to unpack it and fails. Re-raising the error will let know backend that something went off
- Loading branch information
Showing
1 changed file
with
70 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters