// For parameter validation errors, provide specific error feedback
logConsoleAndDb(
@ -230,11 +229,10 @@ export class DeepLinkHandler {
awaitthis.router.replace({
name: routeName,
params: validatedParams,
query: validatedQuery,
});
}catch(error){
logConsoleAndDb(
`[DeepLink] Error routing to route name ${routeName} for path: ${path}: ${JSON.stringify(error)} ... with validated params: ${JSON.stringify(validatedParams)} ... and validated query: ${JSON.stringify(validatedQuery)}`,
`[DeepLink] Error routing to route name ${routeName} for path: ${path}: ${JSON.stringify(error)} ... with validated params: ${JSON.stringify(validatedParams)}`,
true,
);
// For parameter validation errors, provide specific error feedback
@ -245,7 +243,6 @@ export class DeepLinkHandler {
originalPath: path,
errorCode:"ROUTING_ERROR",
errorMessage:`Error routing to ${routeName}: ${JSON.stringify(error)}`,