Error handling for create quote

Stopped from creating an empty quote on errors