Better error report in PNaCl module