render error message when customer not found
This commit is contained in:
parent
5153a9a634
commit
59638daad9
|
@ -38,6 +38,9 @@ module DiscoursePatrons
|
|||
end
|
||||
|
||||
render_json_dump deleted
|
||||
|
||||
else
|
||||
render_json_error "Customer ID not found"
|
||||
end
|
||||
|
||||
rescue ::Stripe::InvalidRequestError => e
|
||||
|
|
Loading…
Reference in New Issue