print to $stderr and raise afterwards