This topic came up on another forum, and in the "duty size" pistol category, most seemed to think Beretta and HK were the most consistently good. You may prefer the features of another maker, but those two companies have consistently executed their designs well.
Having said that, in general, almost all of the major makers are very good, and we do live in a great era for fine firearms. Even if you had a problem, virtually all companies will probably fix whatever problem you may have.
From a problem standpoint Glock has had some troubles with their pre-Gen 4 .40 S&W guns, which brought about the Gen 4 guns. While the Gen 4 redo pretty much fixed the .40 S&W guns, it caused problems with their 9mm versions.
SIG has had some problems with their quality control over the past several years, and they've spent some time hunting for the correct size extractor on a few models, and while the P320 has been met with enthusiasm, the response to the P250 has been just the opposite.
S&W has had accuracy issues with their 9mm M&P line. FN keeps coming up with a different third letter for their guns seemingly every year. Is it FNP, FNS, FNX, FNG. I don't know what letter they're on right now. I need a program.
In spite of all that, you could probably pick any handgun and expect it to work properly and if it didn't most companies will fix it for you at no charge.