Retain trace when using internal() with error data