Implementacion del middleware TraceCodeInfo