Skip to content

Commit

Permalink
Fix "Unexpected JSON response" error w/out retry on upload
Browse files Browse the repository at this point in the history
  • Loading branch information
braydonf committed Feb 23, 2017
1 parent bc84686 commit 1d663b6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/uploader.c
Original file line number Diff line number Diff line change
Expand Up @@ -1340,11 +1340,6 @@ static void after_request_frame_id(uv_work_t *work, int status)
goto clean_variables;
}

if (req->error_status) {
state->error_status = req->error_status;
goto clean_variables;
}

state->frame_request_count += 1;

// Check if we got a 201 status and token
Expand Down

0 comments on commit 1d663b6

Please sign in to comment.