Em Tue, 20 May 2025 17:22:27 +0300 Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> escreveu: > On Tue, May 20, 2025 at 03:33:08PM +0200, Mauro Carvalho Chehab wrote: > > Replicate the same behavior as what's done with kernel-doc.pl: > > continue building docs even when there are exceptions. > > ... > > > + logger.warning("kernel-doc '%s' processing failed with: %s" % > > + (cmd_str(cmd), str(e))) > > > + logger.warning("kernel-doc '%s' processing failed with: %s" % > > + (cmd_str(cmd), str(e))) > > The prefix of the message is the same for different (semantically) places. > Is it okay? (I would expect them to slightly differ, but I dunno if > cmd here is the same, perhaps that's enough for distinguishing the two.) I guess it should be OK, as the "%s" variables are the ones that will actually help to provide a hint about the issue. See, in practice, if one wants to check what crashed, the procedure would likely be to run the command line, given by "cmd_str(cmd)" and see what output was produced. Regards, Mauro