Shorten error formatting