Open jotelha opened 11 months ago
We should catch any errors and convert them to warnings when iterating the register_dataset methods over all plugins as done in https://github.com/jic-dtool/dtool-lookup-server/blob/8b1071b3bae85b0dd29de2923dccb06444456b37/dtool_lookup_server/utils.py#L566-L586. We don't want the registration in the core server or in any other plugin to fail just because of one poorly written plugin.
register_dataset
At some point in the future, we might want to introduce some bookkeeping functionality on registration errors in the server core.
Fixable by pinning flask < 3, https://github.com/jic-dtool/dtool-lookup-server/pull/53/commits/5de14c40ffb383741b9005d06c7898c126979062
We should catch any errors and convert them to warnings when iterating the
register_dataset
methods over all plugins as done in https://github.com/jic-dtool/dtool-lookup-server/blob/8b1071b3bae85b0dd29de2923dccb06444456b37/dtool_lookup_server/utils.py#L566-L586. We don't want the registration in the core server or in any other plugin to fail just because of one poorly written plugin.At some point in the future, we might want to introduce some bookkeeping functionality on registration errors in the server core.