[PLAT-5573] Catching Throwable rather than Exception and logging the error