mirror of
https://github.com/dkmstr/openuds.git
synced 2025-10-21 15:33:45 +03:00
Moving common "specializations" algos for services to a common base
This commit is contained in:
@@ -129,7 +129,7 @@ class Services(DetailHandler): # pylint: disable=too-many-public-methods
|
||||
return self.fill_instance_fields(k, val)
|
||||
except Exception as e:
|
||||
logger.error('Error getting services for %s: %s', parent, e)
|
||||
raise self.invalid_item_response() from e
|
||||
raise self.invalid_item_response(repr(e)) from e
|
||||
|
||||
def get_row_style(self, parent: 'Model') -> types.ui.RowStyleInfo:
|
||||
return types.ui.RowStyleInfo(prefix='row-maintenance-', field='maintenance_mode')
|
||||
|
Reference in New Issue
Block a user