Log exiting as error

@juanxo: ping.