A man has been left red-faced after an attempted robbery at a takeaway was foiled in unconventional fashion.

Employee Joanna Tarnoski threw chilli sauce at a man accused of trying to force open the cash register at the restaurant in Sydney.

Harry Low reports.