log bundle with its status
better assertion
Merge pull request #185 from raghavgautam/master

better assert