Provide logging to debug why import of Print Server artifacts results in duff associated meta data
This commit is contained in:
parent
26d3eb53c6
commit
84ff4211df
1 changed files with 3 additions and 0 deletions
|
|
@ -571,6 +571,7 @@ class MetaInfo extends GISJsonSerialised {
|
|||
}
|
||||
|
||||
def deserialiseJson(String filepath) {
|
||||
script.echo("Deserialising JSON at file: ${filepath}"
|
||||
def rawmeta = script.readJSON(file: filepath)
|
||||
deserialiseJson(rawmeta)
|
||||
}
|
||||
|
|
@ -617,6 +618,8 @@ class MetaInfo extends GISJsonSerialised {
|
|||
def importedmetafile = adjustedpath + "/" + metafilepath()
|
||||
if (script.fileExists(importedmetafile)) {
|
||||
mi.deserialiseJson(importedmetafile)
|
||||
} else {
|
||||
script.echo("Could not deserialise meta at file: ${importedmetafile} (destpath: ${destpath})- Does not exist")
|
||||
}
|
||||
|
||||
RelatedMetaInfo rmi = new RelatedMetaInfo(script, adjustedpath, mi)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue