Skip to content

Commit

Permalink
removed some debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
guustnieuwenhuis committed May 1, 2012
1 parent 003dd8d commit e27f658
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions controllers/main.cfc
Expand Up @@ -24,12 +24,6 @@ component
{
try {
local.file = fileUpload(ExpandPath('repository/'), "file", "application/pdf", "MakeUnique", true);

savecontent variable="local.testDump" {
writeDump(form, 'browser', 'text');
}

WriteLog(type="Warning", file="myapp", text="#local.testDump#");

local.response = StructNew();
local.response.type = "status";
Expand All @@ -43,7 +37,6 @@ component
local.response.message = "Something went wrong... #ex.message#";
local.response.progress = "0%";
WSPublish(rc.channel,local.response);
WriteLog(type="Error", file="myapp", text="[#ex.type#] #ex.message# #ex.detail#");
}
}

Expand Down Expand Up @@ -131,7 +124,6 @@ component
local.response.message = "Something went wrong... #ex.message#";
local.response.progress = "0%";
WSSendMessage(serializeJSON(local.response));
WriteLog(type="Error", file="myapp", text="[#ex.type#] #ex.message# #ex.detail#");
}
}

Expand Down

0 comments on commit e27f658

Please sign in to comment.