diff --git a/frontend/src/businessData.tsx b/frontend/src/businessData.tsx index 149aa44..89c73d3 100644 --- a/frontend/src/businessData.tsx +++ b/frontend/src/businessData.tsx @@ -56,10 +56,8 @@ export function BusinessDataProvider(props: { children: JSX.Element }) { line = json; } else { - console.warn(`No line found for ${lineId} line id (${json}).`); + console.warn(`No line found for ${lineId} line id:`, json); } - - } return line; } @@ -113,7 +111,7 @@ export function BusinessDataProvider(props: { children: JSX.Element }) { addPassages(json.passages); } else { - console.warn(`No passage found for ${stopId} stop (${json}).`); + console.warn(`No passage found for ${stopId} stop:`, json); } } @@ -194,7 +192,7 @@ ${linePassagesDestination.length} here... refresh all them.`); } } else { - console.warn(`No stop found for '${name}' (${json}).`); + console.warn(`No stop found for '${name}' query:`, json); } return byIdStops; @@ -223,7 +221,7 @@ ${linePassagesDestination.length} here... refresh all them.`); shape = json; } else { - console.warn(`No shape found for ${stopId} stop (${json}).`); + console.warn(`No shape found for ${stopId} stop:`, json); } } return shape;