mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-03-07 22:02:59 +00:00
remove console log
This commit is contained in:
@@ -128,7 +128,6 @@ async function getGraphHopperRoute(
|
|||||||
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
const error = await response.json();
|
const error = await response.json();
|
||||||
console.log(error);
|
|
||||||
if (error.message.includes('Cannot find point 0')) {
|
if (error.message.includes('Cannot find point 0')) {
|
||||||
throw new Error('toolbar.routing.error.from');
|
throw new Error('toolbar.routing.error.from');
|
||||||
} else if (error.message.includes('Cannot find point 1')) {
|
} else if (error.message.includes('Cannot find point 1')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user