Fix projector error message
This commit is contained in:
parent
76210e807f
commit
7e25a858d4
@ -85,7 +85,7 @@ async def get_projector_data(
|
|||||||
try:
|
try:
|
||||||
data = projector_slide(all_data, element)
|
data = projector_slide(all_data, element)
|
||||||
except ProjectorElementException as err:
|
except ProjectorElementException as err:
|
||||||
data = {"error": err}
|
data = {"error": str(err)}
|
||||||
projector_data[projector_id].append({"data": data, "element": element})
|
projector_data[projector_id].append({"data": data, "element": element})
|
||||||
|
|
||||||
return projector_data
|
return projector_data
|
||||||
|
Loading…
Reference in New Issue
Block a user