Not sure about this silent exception catching, harder to debug.