PLA-1429 fix error message to be more descriptive

@JoannaBorun