Layout exists in campaign, upon delete throwing unexpected error

Instead of throwing unexpected error, due to layout being present in campaign already. there should have a better message to let user know why and how.

Error:

Campaign:

Log:

That seems to be bug, I’ve logged it here - https://github.com/xibosignage/xibo/issues/1177

Thank you for bringing this to our attention.