This is a small fix that gracefully handles Not Found errors thrown by metastore-lib.
While we are expected to see more issues if the dataset is not in metastore when editing, deleting or listing tags for a package, at least viewing it will work. In addition, it seemed to me that there was an intention for this to gracefully degrade because there is a try/catch around fetch in plugin.py but it catches the wrong exception.
This is a small fix that gracefully handles Not Found errors thrown by metastore-lib.
While we are expected to see more issues if the dataset is not in metastore when editing, deleting or listing tags for a package, at least viewing it will work. In addition, it seemed to me that there was an intention for this to gracefully degrade because there is a
try/catch
aroundfetch
inplugin.py
but it catches the wrong exception.