Commit afdd03bb authored by Piotr Gawron's avatar Piotr Gawron
Browse files

removed misleading error logs

parent 265b05dd
......@@ -217,12 +217,6 @@ GuiConnector.prototype.getErrorMessageForError = function (error) {
message = error.message;
} else if (message instanceof GuiMessageError) {
message = error.message;
} else if (message instanceof NetworkError && (error.message === "XHR error" || error.message === "Failed to fetch")) {
message = "File to big.<br>Please reduce file size or contact administrators.";
} else if (message instanceof ValidationError) {
message = error.message;
} else if (message instanceof GuiMessageError) {
message = error.message;
} else if (message instanceof Error) {
message = "Unexpected error occurred:<p>" + error.message + "</p>";
}
......
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 to comment