Skip to content
Snippets Groups Projects
Commit 0efbb52c authored by vkovtun's avatar vkovtun
Browse files

SSDM-8405 Fixed the unknown error in Zenodo exporting plugin.

parent ac0a2eb2
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ from org.eclipse.jetty.http import HttpMethod
from org.eclipse.jetty.util.ssl import SslContextFactory
from org.json import JSONObject
from exportsApi import findEntitiesToExport, validateDataSize, getConfigurationProperty, generateZipFile, checkResponseStatus
from exportsApi import findEntitiesToExport, validateDataSize, getConfigurationProperty, generateZipFile, checkResponseStatus, displayResult
operationLog = Logger.getLogger(str(LogCategory.OPERATION) + '.zenodoExports.py')
......@@ -45,6 +45,7 @@ def process(tr, params, tableBuilder):
if method == 'exportAll':
resultUrl = expandAndExport(tr, params)
displayResult(resultUrl is not None, tableBuilder, '{"url": "' + resultUrl + '"}' if resultUrl is not None else None)
def expandAndExport(tr, params):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment