catch generic Exception as a last resort