#281 duplicated method create fixed

parent cbe864ae
...@@ -100,7 +100,7 @@ module.exports = { ...@@ -100,7 +100,7 @@ module.exports = {
}) })
.catch(function(err) { .catch(function(err) {
sails.log.debug("Create Method template error: " + err); sails.log.debug("Create Method template error: " + err);
return res.serverError(err); return res.serverError("Error creating method");
}); });
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment