From c7a15b9dabf37d00c27bb491161a1751637919a1 Mon Sep 17 00:00:00 2001 From: Juergen Weigert Date: Thu, 6 Jun 2013 11:55:50 +0200 Subject: [PATCH] fixed plugin crash message: include the plugin name --- osc/commandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index 58419dc1..a150ca12 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -7922,7 +7922,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. else: import traceback traceback.print_exc(file=sys.stderr) - print('\n%s: %s' % (plugin_dir, e), file=sys.stderr) + print('\n%s: %s' % (os.path.join(plugin_dir, extfile), e), file=sys.stderr) print("\n Try 'env OSC_PLUGIN_FAIL_IGNORE=1 osc ...'", file=sys.stderr) sys.exit(1)