aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Costasdev.Busurbano.Backend/Controllers/VigoController.cs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Costasdev.Busurbano.Backend/Controllers/VigoController.cs b/src/Costasdev.Busurbano.Backend/Controllers/VigoController.cs
index fb91944..362c73e 100644
--- a/src/Costasdev.Busurbano.Backend/Controllers/VigoController.cs
+++ b/src/Costasdev.Busurbano.Backend/Controllers/VigoController.cs
@@ -91,8 +91,6 @@ public class VigoController : ControllerBase
[FromQuery] int stopId
)
{
- StringBuilder outputBuffer = new();
-
// Use Europe/Madrid timezone consistently to avoid UTC/local skew
var tz = TimeZoneInfo.FindSystemTimeZoneById("Europe/Madrid");
var nowLocal = TimeZoneInfo.ConvertTime(DateTime.UtcNow, tz);
@@ -211,16 +209,6 @@ public class VigoController : ControllerBase
}
});
- // Also capture details in debug buffer for diagnostics
- outputBuffer.AppendLine("**No circulation matched. List of all of them:**");
- foreach (var circulation in possibleCirculations)
- {
- outputBuffer.AppendLine(
- $"Circulation {circulation.TripId} stopping at {circulation.CallingDateTime()!.Value} (diff: {estimatedArrivalTime - circulation.CallingDateTime()!.Value:HH:mm})");
- }
-
- outputBuffer.AppendLine();
-
continue;
}