mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-20 23:28:01 +00:00
Merge pull request #271 from camelliazhang/master
add exception handling for DATABASE_SCM_METADATA_ETL and collect info
This commit is contained in:
commit
b52ca80217
@ -70,7 +70,10 @@ class CodeSearchExtract:
|
|||||||
# e.g. identity-mt/database/Identity/database.properties
|
# e.g. identity-mt/database/Identity/database.properties
|
||||||
# network/database/externmembermap/database.properties
|
# network/database/externmembermap/database.properties
|
||||||
# cap-backend/database/campaigns-db/database.properties
|
# cap-backend/database/campaigns-db/database.properties
|
||||||
databases.append( {'filepath': prop_file, 'app_name': element['docData']['mp']} )
|
try:
|
||||||
|
databases.append( {'filepath': prop_file, 'app_name': element['docData']['mp']} )
|
||||||
|
except:
|
||||||
|
self.logger.error("Exception happens with prop_file {}".format(prop_file))
|
||||||
|
|
||||||
if result['total'] < 100:
|
if result['total'] < 100:
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user