Give the user an error in case parse failed

ticket: #2190