I personally would be paranoid about glass shards ending up in my beer, so I'd toss it. I guess it depends on what you're comfortable with. I'm sure that some people will strain the wort and cross their fingers and drink the beer. I'm just not comfortable with that at all. I'd have to throw it away.
By the way, I don't use a thermometer during the boil. I mean, boiling is boiling, so the temperature doesn't matter at all. If it's boiling, it's good. I know it's too late now, but I would suggest not using a thermometer (especially a glass one) in the boil pot for next time.