I have had this one time on my MTB ... was a painfull lesson ...my finger was stock between the sprocket and the front shifter, with the tooth of the sprocket tru my nail and in my finger.
And that was only on a stupid pedal bike ...
Those things always seem to be a good idea ... until...