Skip to content

Commit 4288532

Browse files
authored
fix(webui): Log Presto cancel route output as object instead of string. (#1191)
1 parent 3964565 commit 4288532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/webui/server/src/routes/api/presto-search/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ const plugin: FastifyPluginAsyncTypebox = async (fastify) => {
198198
resolve();
199199
});
200200
});
201-
request.log.info(searchJobId, "Presto search cancelled");
201+
request.log.info({searchJobId}, "Presto search cancelled");
202202
reply.code(StatusCodes.NO_CONTENT);
203203

204204
return null;

0 commit comments

Comments
 (0)