fix: log properties instead of object (#1361)
This commit is contained in:
1 parent
1becb3f889
commit
91132cc3e8
1 file changed
+1
-1
@@ -43,7 +43,7 @@ export const appRouter = createTRPCRouter({
|
||||
}
|
||||
|
||||
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({
|
||||
code: 'TIMEOUT',
|
||||
cause: input,
|
||||
|
||||
Reference in new issue
Block a user