Main bearing cap broken how to repair

Short of replacement take it off and run a grinder over the sharp edges to prevent it from getting hairline fractures. Then cross your fingers that it won't give you a problem down the road.