Catch table not found exception (#5059)
This commit is contained in:
Родитель
c708631ba8
Коммит
14491fca27
|
@ -3,6 +3,7 @@
|
|||
from argparse import ArgumentParser
|
||||
|
||||
import yaml
|
||||
from google.api_core.exceptions import NotFound
|
||||
|
||||
from ..config import ConfigLoader
|
||||
from ..util import standard_args
|
||||
|
@ -52,3 +53,5 @@ def publish_metadata(client, project, dataset, table, metadata):
|
|||
|
||||
except yaml.YAMLError as e:
|
||||
print(e)
|
||||
except NotFound as e:
|
||||
print(e)
|
||||
|
|
Загрузка…
Ссылка в новой задаче