Avoid catch-all exception handling