Fix error message for #561
Merge pull request #564 from rmcgibbo/err-msg-#561

Fix error message for #561