Look all around your bike for scuffs. I know my bike was knocked over and I didn't realize it until later that day. My mirror was loose and there were tell tale scuffs that my bike got backed into.
But if it looks like it fatigued and cracked in just one spot, then go see the dealer.