Added preventative try..catch which swallows common error.