Handle unexcepted error

Handle "Error: Illegal chunk format"