Better formatting for debug errors