Permalink
Browse files

removed some debug code

  • Loading branch information...
1 parent 003dd8d commit e27f658b559801d161ed9f405f926fbab5bb95e9 @Lagaffe committed May 1, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 controllers/main.cfc
View
@@ -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";
@@ -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#");
}
}
@@ -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#");
}
}

0 comments on commit e27f658

Please sign in to comment.