Checking ErrorContainer before saving to complete state
Merge pull request #14 from anas-ambri/checkErrorContainer

Checking ErrorContainer before saving to complete state