|
|
@ -714,6 +714,7 @@ class ShixunsController < ApplicationController
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
rescue Exception => e
|
|
|
|
rescue Exception => e
|
|
|
|
|
|
|
|
logger.info("shixun_exec error: #{e.message}")
|
|
|
|
if e.message != "ActiveRecord::RecordInvalid"
|
|
|
|
if e.message != "ActiveRecord::RecordInvalid"
|
|
|
|
logger.error("##########project_fork error #{e.message}")
|
|
|
|
logger.error("##########project_fork error #{e.message}")
|
|
|
|
@myshixun.destroy!
|
|
|
|
@myshixun.destroy!
|
|
|
|