Add try/catch to read examples