Catch unhandled exception and prints contribution message

Fix #115