From: Sungmin kim Date: Mon, 22 Apr 2013 09:06:40 +0000 (+0900) Subject: [title] Fixed bug about exception in cancel job X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80531e6b8ac0d81bad34ae35e367e51497fd5c90;p=sdk%2Ftools%2Fsdk-build.git [title] Fixed bug about exception in cancel job --- diff --git a/src/build_server/CommonJob.rb b/src/build_server/CommonJob.rb index 2170724..7d6376e 100644 --- a/src/build_server/CommonJob.rb +++ b/src/build_server/CommonJob.rb @@ -159,7 +159,7 @@ class CommonJob rescue BuildServerException => e @log.error( e.err_message, Log::LV_USER ) # "CANCEL" operation(ERR900) must be excluded - if @status == "WORKING" and e.err_code != "ERR900" then + if e.err_code != "ERR900" then @status = "ERROR" @error = e end