Exceptions not going to main activity