File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
server/src/uds/REST/model/master Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -198,15 +198,10 @@ def process_detail(self) -> typing.Any:
198198 method = getattr (detail_handler , self ._operation )
199199
200200 return method ()
201- except self .MODEL .DoesNotExist :
202- raise exceptions .rest .NotFound ('Item not found on model {self.MODEL.__name__}' )
203201 except (KeyError , AttributeError ) as e :
204202 raise exceptions .rest .InvalidMethodError (f'Invalid method { self ._operation } ' ) from e
205203 except exceptions .rest .HandlerError :
206204 raise
207- except Exception as e :
208- logger .error ('Exception processing detail: %s' , e )
209- raise exceptions .rest .RequestError (f'Error processing detail: { e } ' ) from e
210205
211206 # Data related
212207 def get_item (self , item : models .Model ) -> types .rest .T_Item :
You can’t perform that action at this time.
0 commit comments