Adjust redirect logging (apis only showsn when filled) (#4229)
This commit is contained in:
parent
44d0b9fb26
commit
df1732042a
@ -11,7 +11,7 @@ interface Props extends RouteProps {
|
||||
}
|
||||
|
||||
function NotFound ({ basePath, missingApis = [] }: Props): React.ReactElement {
|
||||
console.log(`Redirecting from route "${basePath}" to "explorer", missing the following APIs: ${JSON.stringify(missingApis)}`);
|
||||
console.log(`Redirecting from route "${basePath}" to "/explorer"${missingApis.length ? `, missing the following APIs: ${JSON.stringify(missingApis)}` : ''}`);
|
||||
|
||||
return (
|
||||
<Redirect to='/explorer' />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user