[title] Fixed bug about exception in cancel job
authorSungmin kim <dev.sungmin.kim@samsung.com>
Mon, 22 Apr 2013 09:06:40 +0000 (18:06 +0900)
committerSungmin kim <dev.sungmin.kim@samsung.com>
Mon, 22 Apr 2013 09:06:40 +0000 (18:06 +0900)
src/build_server/CommonJob.rb

index 2170724..7d6376e 100644 (file)
@@ -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