[fix] Set error's status before assignement
[fix] Set error's status before assignement
Merge pull request #76 from Kloadut/patch-2

[fix] Set error's status before assignement