File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ if (isDevelopment) {
1717 log . transports . file . level = 'info'
1818} else {
1919 log . transports . console . level = 'info'
20- log . transports . file . level = 'warn '
20+ log . transports . file . level = 'info '
2121}
2222
2323log . eventLogger . startLogging ( )
Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ export function ConnectionRefusedError() {
6464 } )
6565
6666 useEffect ( ( ) => {
67+ if ( ! containerStatus ?. available ) {
68+ log . info ( 'Container engines are not available' )
69+ }
6770 if ( containerStatus ?. available && ! isRestarting ) {
6871 restartToolhive ( )
6972 }
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ export const Route = createRootRouteWithContext<{
7979 if ( ! res ) {
8080 log . error ( 'Error ToolHive is not running' )
8181 }
82+ log . info ( 'ToolHive is running' )
8283 return res
8384 } ,
8485 retry : 3 ,
@@ -87,6 +88,8 @@ export const Route = createRootRouteWithContext<{
8788 await queryClient . ensureQueryData ( {
8889 queryKey : [ 'health' ] ,
8990 queryFn : ( ) => getHealth ( { } ) ,
91+ retry : 2 ,
92+ retryDelay : 200 ,
9093 } )
9194 } ,
9295 loader : async ( { context : { queryClient } } ) =>
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export function Index() {
7171 onSubmit = { handleSubmit }
7272 />
7373 </ div >
74- { ! isPending && workloads . length === 0 ? (
74+ { ! isPending && ! workloads . length ? (
7575 < EmptyState
7676 title = "Add your first MCP server"
7777 body = "You can add a server by running it with a command or by browsing the registry"
You can’t perform that action at this time.
0 commit comments