Skip to content

Commit

Permalink
MAINT: Remove duplicated error log
Browse files Browse the repository at this point in the history
  • Loading branch information
wosc committed Feb 26, 2024
1 parent fed8a1c commit ad61788
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions core/src/zeit/cms/browser/js/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ zeit.cms.with_lock = function(callable) {
});
d.addErrback(function(error) {
zeit.cms.log_error(error);
return error;
});
d.addBoth(function(result_or_error) {
zeit.cms.request_lock.release();
Expand Down
1 change: 0 additions & 1 deletion core/src/zeit/cms/browser/js/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ zeit.cms.SubPageForm = gocept.Class.extend({
d.addCallbacks(
MochiKit.Base.bind(self.replace_content, self),
function(error) {
logError(error.req.status, error.req.statusText);
var parser = new DOMParser();
var doc = parser.parseFromString(
error.req.responseText, "text/xml");
Expand Down

0 comments on commit ad61788

Please sign in to comment.