Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (11 sloc) 0.617 kb
from iron_worker import *
import airbrakepy
import shutil
worker = IronWorker(token='XXXXXXXXXX', project_id='xxxxxxxxxxx')
#here we have to include AirbrakePy library with worker.
worker_dir = os.path.dirname(__file__) + '/airbrake'
abrakepy_dir = os.path.dirname(airbrakepy.__file__)
shutil.copytree(abrakepy_dir, worker_dir + '/airbrakepy') #copy it to worker directory
IronWorker.zipDirectory(directory="airbrake/", destination='', overwrite=True)
res = worker.postCode(runFilename='', zipFilename='', name=' sample')
task = worker.postTask(name=' sample')
Jump to Line
Something went wrong with that request. Please try again.