1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-11 16:36:14 +01:00

fixed plugin crash message: include the plugin name

This commit is contained in:
Juergen Weigert 2013-06-06 11:55:50 +02:00
parent 4736763c22
commit c7a15b9dab

View File

@ -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)