Fix projector error message

This commit is contained in:
Oskar Hahn 2019-02-10 10:50:18 +01:00
parent 76210e807f
commit 7e25a858d4

View File

@ -85,7 +85,7 @@ async def get_projector_data(
try:
data = projector_slide(all_data, element)
except ProjectorElementException as err:
data = {"error": err}
data = {"error": str(err)}
projector_data[projector_id].append({"data": data, "element": element})
return projector_data