13773: Updates tests checking that runtime_status_error() is called when needed
[arvados.git] / sdk / cwl / arvados_cwl / __init__.py
index 2b4a5d93517fefae9b99af6127b03c669fc815af..7f56eac8c9061f860b1f1e1236597d66f00a1a1f 100644 (file)
@@ -216,7 +216,7 @@ http://doc.arvados.org/install/install-api-server.html#disable_api_methods
             if not runtime_status.get('error'):
                 runtime_status.update({
                     'error': error_msg,
-                    'errorDetail': error_log
+                    'errorDetail': error_log or "No error logs available"
                 })
             # Further errors are only mentioned as a count
             else: