Commit 1cc6a1ef authored by Janez K's avatar Janez K
Browse files

bugfix

parent 73b1243d
...@@ -1151,7 +1151,7 @@ def finish_interaction(request): ...@@ -1151,7 +1151,7 @@ def finish_interaction(request):
for o in w.outputs.all(): for o in w.outputs.all():
o.value=None o.value=None
o.save() o.save()
data = simplejson.dumps({'status':'error','message':'Error occurred when trying to execute widget '+w.name+': '+str(type(e))+' '+str(e)},'widget_id':w.id}) data = simplejson.dumps({'status':'error','message':'Error occurred when trying to execute widget '+w.name+': '+str(type(e))+' '+str(e),'widget_id':w.id})
return HttpResponse(data,mimetype) return HttpResponse(data,mimetype)
else: else:
return HttpResponse(status=400) return HttpResponse(status=400)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment