fixes #4756
better message on persistence exception