-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add error handling when updating non-existing record
It can happen that a drone does not reach the AvailableState but only the DownState. In this case, updating the record in Auditor does not work, because no record has been created. In this case, Auditor returns a 400 BAD REQUEST. This commit adds error handling for this specific case. Other exceptions will not be handled.
- Loading branch information
1 parent
2bf9dcb
commit d5f1885
Showing
2 changed files
with
51 additions
and
1 deletion.
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
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