Remove unnecessary error detail