Bug 1623508 - Print out original argument on error in block_analyzer. r=njn

If we don't find the block, just print out the original argument,
instead of the version converted to an integer. Python gets mad when
you try to concatenate an int and a string.

Differential Revision: https://phabricator.services.mozilla.com/D67404

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andrew McCreight 2020-03-19 00:21:34 +00:00
parent a4ed37be73
commit 17d03423b0

View File

@ -251,7 +251,7 @@ def analyzeLogs():
block = int(options.block, 16)
if block not in blocks:
print('Object ' + block + ' not found in traces.')
print('Object ' + options.block + ' not found in traces.')
print('It could still be the target of some nodes.')
return