Log exception when processing an action fails