I don't know which lift the author was performing (and would ask you not to repeat it if you do know), but of the popular lifts which could cause a problem if you fail:
1) Bench press. Have a spotter or don't use clips (the things that hold the weights on the bar). Some benches will have safety bars which can help as well. If you don't have clips you can tip to one side and dump the weight off the end of one bar, then the bar should roll of you (albeit painfully/noisily). People have died benching alone in a gym, don't get caught out.
2) Squat. Have spotters and/or squat in a cage/safety rack (with parallel bars either side of you). It can be dangerous if you fail, have no spotters and aren't in a safety rack. i.e. you can dump it, but this can be dangerous to you and those around you.
Stay safe everyone.