base_adresse: log get_by_id failure as warnings (#76654)
gitea/passerelle/pipeline/head There was a failure building this commit
Details
gitea/passerelle/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
e852d7e2f3
commit
81697bed97
|
@ -216,7 +216,7 @@ class BaseAdresse(AddressResource):
|
|||
result = result.copy()
|
||||
result['id'] = id
|
||||
return {'data': [result]}
|
||||
self.logger.error('get_by_id: id %s was not found', id)
|
||||
self.logger.warning('get_by_id: id %s was not found', id)
|
||||
return {'err': _('Address ID not found')}
|
||||
|
||||
@endpoint(
|
||||
|
|
Loading…
Reference in New Issue