[minor] [fix] error logging for pop
Merge pull request #327 from anandpdoshi/hotfix

[minor] [fix] error logging for pop