When there is an error, but there are also quotes, don't stop

Return the error and the quotes

Resolves issue #1341