mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
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:
parent
a4ed37be73
commit
17d03423b0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user