mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 17:26:26 +01:00
fix: log properties instead of object (#1361)
This commit is contained in:
@@ -43,7 +43,7 @@ export const appRouter = createTRPCRouter({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (error.code === 'ECONNABORTED') {
|
if (error.code === 'ECONNABORTED') {
|
||||||
Consola.error(`Ping timed out for app with id : ${input} (url: ${app.url})`);
|
Consola.error(`Ping timed out for app with id '${input.id}' in config '${input.configName}' -> url: ${app.url})`);
|
||||||
throw new TRPCError({
|
throw new TRPCError({
|
||||||
code: 'TIMEOUT',
|
code: 'TIMEOUT',
|
||||||
cause: input,
|
cause: input,
|
||||||
|
|||||||
Reference in New Issue
Block a user