Relax exception check so that it only warns on catching Throwable and Error. Fix #159