please remove TODO and .printStackTrace() and add proper logging instead