Carrying pistols with optics raises a number of complex issues. There are many threads about this subject. One issue is whether an optic is really helpful for making quick close range shots. This is not the subject of this thread, but I recommend reading up on this area. In short, highly qualified people have differing opinions on this subject.
Now let me address the specific question in this thread. If you want to carry a pistol with an optic, then all aspects of robustness of the optic need to be considered. The physical toughness of the optic, as well as battery life and reliability of the electronics all count. I believe that with proper maintenance, the best quality optics have reliability approaching that of iron sights. However, if you are not confident yet with your specific setup, then I would not rely on it for duty purposes. I would recommend to use it only for training until you become fully confident in the hardware, and in your ability to use it. I would consider it OK for carry to and from the range provided you are aware of your current abilities. You should make your own assessment whether to also carry a backup pistol, or whether to just carry something else and carry the optic sighted pistol to the range in a case.
Keep in mind, the reliability of the entire package of pistol and sights, as well as your ability to use the whole package, is what counts.
Also, as I noted above, the best small optics have reliability comparable to an iron sighted pistol. But in my opinion, most small optics are only reliable enough for recreational purposes. The small optics I would trust are all in the $500 range. Extensive hard use in training will eventually tell you whether the equipment you have is good enough. If the optic is damaged during training or carry to the range, then it is probably a good thing that you found out early.