I am using arcgis pro sdk. After I called the tool, the tool failed to run, but the prompt box was blank. How can I get detailed information?

// 获取错误信息
if (results.IsFailed)
{
await QueuedTask.Run(() =>
{
Geoprocessing.ShowMessageBox(results.Messages, "工具执行失败", GPMessageBoxStyle.Error);
});
}