iron-io/iron_worker_ruby — Issue #14: Need improved error message for incorrect token/project_id
Author: frommww
Created: 2012-01-08 04:32:55+00:00
State: open

This is the message that results from an incorrect token/project_id. Should be more explanatory as to what the issue it. Spent 20 minutes trying different things only to realize I was using the placeholder _config.yml attributes.

I, [2012-01-07T20:30:00.761195 #2379] INFO -- : IronWorker initialized.
I, [2012-01-07T20:30:00.863484 #2379] INFO -- : Uploading DeserializeWorker, code modified.
I, [2012-01-07T20:30:00.863847 #2379] INFO -- : file size to upload: 88650
I, [2012-01-07T20:30:00.863897 #2379] INFO -- : Uploading now...
E, [2012-01-07T20:30:02.547512 #2379] ERROR -- : EX RestClient::ResourceNotFound: 404 Resource Not Found
Exception: 404 Resource Not Found: Not found

method process_ex	in api.rb at line 98
method rescue in post_file	in api.rb at line 153
method post_file	in api.rb at line 143
method upload_code	in service.rb at line 392
method upload	in service.rb at line 71
method upload_if_needed	in base.rb at line 401
method queue	in base.rb at line 219
method

in deserialize_runner.rb at line 33