Skip to content

Commit

Permalink
Fixes #350 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
klpanagi committed Sep 14, 2016
1 parent 90fd984 commit d07d7fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rapp_web_services/services/email_send/svc.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,13 @@ function svcImpl(req, resp, ros) {

// ROS-Service response callback.
function callback(data) {
Fs.rmFile(req.files.file[0]);
// Parse rosbridge message and craft client response
var response = parseRosbridgeMsg(data);
resp.sendJson(response);
}

// ROS-Service onerror callback.
function onerror(e) {
Fs.rmFile(req.files.file[0]);
var response = new interfaces.client_res();
response.error = e;
resp.sendJson(response);
Expand Down

0 comments on commit d07d7fe

Please sign in to comment.