1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-22 10:12:12 +01:00

fixed plugin crash message: include the plugin name

Two occurences.
This commit is contained in:
Juergen Weigert 2013-06-06 11:55:50 +02:00
parent c7a15b9dab
commit 4b48cc611f

View File

@ -7918,7 +7918,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
exec(open(os.path.join(plugin_dir, extfile)).read())
except SyntaxError as e:
if (os.environ.get('OSC_PLUGIN_FAIL_IGNORE')):
print("%s: %s\n" % (plugin_dir, e), file=sys.stderr)
print("%s: %s\n" % (os.path.join(plugin_dir, extfile), e), file=sys.stderr)
else:
import traceback
traceback.print_exc(file=sys.stderr)