Merge pull request #4292 from ostcar/fix_projector_error_representation
Fix projector error message
This commit is contained in:
commit
3d2993e864
@ -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