Handle fog errors in knife-cloud

Implemented code changes to catch fog errors in knife cloud.