Added assertion checks to make sure that the error code for the ToolRunner run() method is used. Testing Done: Checked that TestCanaryTool unit tests fail when there is an error code in the current Canary run. Signed-off-by: Andrew Purtell <apurtell@apache.org>