Revert "catch uncaught exception"

This reverts commit ecff2beafafcbb63560bccfd5479ff952c239d8e.