Skip to content

Commit f267f22

Browse files
committed
error
1 parent ef0ba71 commit f267f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/click/controllers/eg006EmbedClickwrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
console.log(JSON.parse(JSON.stringify(results)));
6262
} catch (error) {
6363
if (embedClickwrap.agreementUrl == null) {
64-
const errorCode = error.message;
64+
const errorCode = "Error:";
6565
const errorMessage = "The email address was already used to agree to this elastic template. Provide a different email address if you want to view the agreement and agree to it.";
6666
res.render("pages/error", {err: error, errorCode, errorMessage});
6767
} else {

0 commit comments

Comments
 (0)