Fix error display in repository and workspace view