Skip to content

Commit

Permalink
Fix possible errors due to 404 service
Browse files Browse the repository at this point in the history
  • Loading branch information
dann1 committed Nov 23, 2023
1 parent 1f18580 commit b604091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/runtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def delete

@cclient.logger.warning(SRS_NOT_FOUND) if rc == 404

if rc != 204
if ![204, 404].include?(rc)
error = "#{SERVICE_NO_DELETE} #{service_id}"
message = response[1]

Expand Down

0 comments on commit b604091

Please sign in to comment.